test workflow and assigning #3
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.issues.labels.*.name, 'dedupe') | |
name: Add issue to dedupe project | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/[email protected] | |
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.GITHUB_TOKEN }} | |
add-to-ocr-project: | |
if: ${{ github.event.label.name == 'OCR' }} | |
name: Add issue to the ocr project | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/[email protected] | |
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.GITHUB_TOKEN }} |