mirror of
https://github.com/tauri-apps/tauri-docs.git
synced 2026-01-31 00:35:16 +01:00
fix: only update if it's still open
This commit is contained in:
1
.github/workflows/status.yml
vendored
1
.github/workflows/status.yml
vendored
@@ -56,6 +56,7 @@ jobs:
|
||||
#===== END ISSUES =====#
|
||||
|
||||
- name: Set fields
|
||||
if: ${{ github.event.issue.status == 'open' || github.event.pull_request.status == 'open' }}
|
||||
env:
|
||||
GH_TOKEN: ${{ secrets.TEST_TOKEN }}
|
||||
run: gh project item-edit --id ${{ env.ITEM_ID }} --project-id ${{ env.PROJECT_ID }} --field-id ${{ env.STATUS_FIELD_ID }} --single-select-option-id ${{ env.STATUS_ID }}
|
||||
|
||||
Reference in New Issue
Block a user