diff --git a/.github/workflows/issues-close-project-done.yaml b/.github/workflows/issues-close-project-done.yaml index fdc4cd47..d643d2e3 100644 --- a/.github/workflows/issues-close-project-done.yaml +++ b/.github/workflows/issues-close-project-done.yaml @@ -1,10 +1,13 @@ name: Project Issue State Sync on: - schedule: - # Runs on minute 0 every 2 hours - - cron: 0 0-23/2 * * * - workflow_dispatch: - # Manual trigger + push: + branches: + - idwa-28-close-issues-on-project-done + # schedule: + # # Runs on minute 0 every 2 hours + # - cron: 0 0-23/2 * * * + # workflow_dispatch: + # # Manual trigger jobs: issue-state-sync: runs-on: ubuntu-latest @@ -16,12 +19,10 @@ jobs: owner: CDCgov project_number: 34 closed_statuses: Done - open_statuses: Todo,In Progress,Review - - 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 unfortunetly.. - owner: CDCgov - project_number: 33 - closed_statuses: Done - open_statuses: Todo,In Progress,Review + # - 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 unfortunetly.. + # owner: CDCgov + # project_number: 33 + # closed_statuses: Done