Update .gitea/workflows/add-issue-to-project.yaml
This commit is contained in:
parent
f38ef8aa6d
commit
2a36b8eaa1
|
|
@ -7,9 +7,9 @@ jobs:
|
|||
createCard:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Create or Update Project Card
|
||||
uses: peter-evans/create-or-update-project-card@v2
|
||||
with:
|
||||
project-number: 3
|
||||
project-location: ${{ gitea.repository }}
|
||||
column-name: To Do
|
||||
-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 }}"
|
||||
Loading…
Reference in New Issue