generated from CDCgov/template
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Derek Dombek
committed
Mar 22, 2024
1 parent
5ce9ba3
commit c50e29b
Showing
1 changed file
with
15 additions
and
6 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,30 @@ | ||
name: Project Issue State Sync | ||
on: | ||
# schedule: | ||
# # At minute 0 every 2 hours | ||
# - cron: 0 0-23/2 * * * | ||
push: | ||
branches: | ||
- idwa-28-close-issues-on-project-done | ||
# Manual trigger | ||
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 issue states | ||
- name: Sync issues for dedupe | ||
uses: dasmerlon/project-issue-state-sync@v2 | ||
with: | ||
github_token: ${{ secrets.CLOSE_ISSUE_WHEN_PROJECT_DONE }} | ||
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 | ||
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 |