Skip to content

Document the entirety of the current DevOps work that has been done and also how to use them. #261

Document the entirety of the current DevOps work that has been done and also how to use them.

Document the entirety of the current DevOps work that has been done and also how to use them. #261

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