Update .gitea/workflows/add-issue-to-project.yaml

This commit is contained in:
Byroks 2024-01-08 20:41:05 +01:00
parent 2a36b8eaa1
commit 7358b67da2
1 changed files with 5 additions and 5 deletions

View File

@ -8,8 +8,8 @@ jobs:
runs-on: ubuntu-latest
steps:
-name: Close Issue
run: >
curl -X PATCH -H "Content-Type: application/xml"
-H "Authorization: token ${{ secrets.GITEA_TOKEN }}
-d '{ "state": "To Do" }'
"${{ gitea.event.issue.url }}"
run: >
curl -X PATCH -H "Content-Type: application/xml"
-H "Authorization: token ${{ secrets.GITEA_TOKEN }}
-d '{ "state": "closed" }'
"${{ gitea.event.issue.url }}"