Skip to content

test workflow and assigning #3

test workflow and assigning

test workflow and assigning #3

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 }}