SPIKE: Research a way to interpret form checkboxes and radio buttons #39
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
name: Add issues to repo projects | |
on: | |
issues: | |
types: | |
- opened | |
jobs: | |
add-to-dedupe-project: | |
if: contains(github.event.issue.labels.*.name, 'dedupe') | |
name: Add issue to dedupe project | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/[email protected] | |
with: | |
project-url: https://github.com/orgs/CDCgov/projects/34 | |
github-token: ${{ secrets.ASSIGN_ISSUES_TO_PROJECTS }} #this custom action doesn't allow the default GITHUB_TOKEN, it requires us to use a PAT as the secret unfortunately.. | |
add-to-ocr-project: | |
if: contains(github.event.issue.labels.*.name, 'OCR') | |
name: Add issue to the ocr project | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/[email protected] | |
with: | |
project-url: https://github.com/orgs/CDCgov/projects/33 | |
github-token: ${{ secrets.ASSIGN_ISSUES_TO_PROJECTS }} #this custom action doesn't allow the default GITHUB_TOKEN, it requires us to use a PAT as the secret unfortunately.. |