Skip to content

test with todo

test with todo #8

name: Project Issue State Sync
on:
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
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 unfortunetly..
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 unfortunetly..
# owner: CDCgov
# project_number: 33
# closed_statuses: Done