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.
init gha for issues assigning projects
- Loading branch information
Derek Dombek
committed
Mar 15, 2024
1 parent
3181e58
commit 1fc4474
Showing
1 changed file
with
34 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,34 @@ | ||
name: Add bugs to bugs project | ||
|
||
on: | ||
push: | ||
branches: | ||
- IDWA-17-Auto-assign-projects-to-issues | ||
issues: | ||
types: | ||
- opened | ||
- labeled | ||
|
||
jobs: | ||
add-to-dedupe-project: | ||
if: ${{ github.event.label.name == 'dedupe' }} | ||
name: Add issue to dedupe project | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/add-to-project@RELEASE_VERSION | ||
with: | ||
# You can target a project in a different organization | ||
# to the issue | ||
project-url: https://github.com/orgs/CDCgov/projects/34 | ||
github-token: ${{ secrets.ADD_TO_PROJECT_PAT }} | ||
add-to-ocr-project: | ||
if: ${{ github.event.label.name == 'OCR' }} | ||
name: Add issue to the ocr project | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/add-to-project@RELEASE_VERSION | ||
with: | ||
# You can target a project in a different organization | ||
# to the issue | ||
project-url: https://github.com/orgs/CDCgov/projects/33 | ||
github-token: ${{ secrets.ADD_TO_PROJECT_PAT }} |