research/.github/workflows/add-to-project.yml

31 lines
1.0 KiB
YAML
Raw Normal View History

name: Add new issues and PRs to Vac Research project boards
on:
issues:
types: [opened]
pull_request:
types: [opened]
jobs:
add-to-project:
name: Add issue to project
runs-on: ubuntu-latest
steps:
- uses: actions/add-to-project@v0.4.0
with:
# You can target a repository in a different organization to the issue
project-url: https://github.com/orgs/vacp2p/projects/7 # SeM board
column: New
github-token: ${{ secrets.ADD_TO_PROJECT_SEM_PAT }}
labeled: ${{env.SEM_TRACK_LABELS}}
label-operator: OR
- uses: actions/add-to-project@v0.4.0
with:
# You can target a repository in a different organization to the issue
project-url: https://github.com/orgs/vacp2p/projects/6 # general VaC board
column: New
github-token: ${{ secrets.ADD_TO_PROJECT_PAT }}
labeled: ${{env.SEM_TRACK_LABELS}}
label-operator: NOT # catch all lables not added to specific boards