Project Issue State Sync #263
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Project Issue State Sync | |
on: | |
schedule: | |
# Once at the end of every week day | |
- cron: 0 0 * * 1-5 | |
workflow_dispatch: | |
# Manual trigger | |
jobs: | |
issue-state-sync: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Sync issues for dedupe | |
uses: dasmerlon/project-issue-state-sync@v2 | |
with: | |
github_token: ${{ secrets.CLOSE_ISSUE_WHEN_PROJECT_DONE }} #this custom action doesn't allow the default GITHUB_TOKEN, it requires us to use a PAT as the secret unfortunately.. | |
owner: CDCgov | |
project_number: 34 | |
closed_statuses: Done | |
- name: Sync issues for OCR | |
uses: dasmerlon/project-issue-state-sync@v2 | |
with: | |
github_token: ${{ secrets.CLOSE_ISSUE_WHEN_PROJECT_DONE }} #this custom action doesn't allow the default GITHUB_TOKEN, it requires us to use a PAT as the secret unfortunately.. | |
owner: CDCgov | |
project_number: 33 | |
closed_statuses: Done |