Skip to content

Commit

Permalink
see what the despatch
Browse files Browse the repository at this point in the history
  • Loading branch information
Derek Dombek committed Mar 22, 2024
1 parent 5ce9ba3 commit c50e29b
Showing 1 changed file with 15 additions and 6 deletions.
21 changes: 15 additions & 6 deletions .github/workflows/issues-close-project-done.yaml
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

0 comments on commit c50e29b

Please sign in to comment.