Skip to content

Project Issue State Sync #243

Project Issue State Sync

Project Issue State Sync #243

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