Update .gitea/workflows/add-issue-to-project.yaml
This commit is contained in:
parent
2a36b8eaa1
commit
7358b67da2
|
|
@ -8,8 +8,8 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
-name: Close Issue
|
-name: Close Issue
|
||||||
run: >
|
run: >
|
||||||
curl -X PATCH -H "Content-Type: application/xml"
|
curl -X PATCH -H "Content-Type: application/xml"
|
||||||
-H "Authorization: token ${{ secrets.GITEA_TOKEN }}
|
-H "Authorization: token ${{ secrets.GITEA_TOKEN }}
|
||||||
-d '{ "state": "To Do" }'
|
-d '{ "state": "closed" }'
|
||||||
"${{ gitea.event.issue.url }}"
|
"${{ gitea.event.issue.url }}"
|
||||||
Loading…
Reference in New Issue