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

35 lines
1.1 KiB
YAML

name: Add new issues and PRs to Vac and Waku project boards
on:
issues:
types: [opened]
pull_request:
types: [opened]
jobs:
add-to-vac-project:
name: Add issue to Vac project board
runs-on: ubuntu-latest
steps:
- uses: actions/add-to-project@v0.3.0
with:
# You can target a repository in a different organization
# to the issue
project-url: https://github.com/orgs/vacp2p/projects/6
github-token: ${{ secrets.ADD_TO_PROJECT_PAT }}
# NOTE Currently all issues are added, might want to limit this
#labeled: bug, needs-triage
#label-operator: OR
add-to-waku-project:
name: Add issue to Waku project board
runs-on: ubuntu-latest
steps:
- uses: actions/add-to-project@v0.3.0
with:
# You can target a repository in a different organization
# to the issue
project-url: https://github.com/orgs/waku-org/projects/2
github-token: ${{ secrets.ADD_TO_PROJECT_PAT }}
labeled: track:maintenance, track:production
label-operator: OR