ci: Add new issues and PRs to project board

The other board can be removed once this is confirmed to work
This commit is contained in:
Oskar Thoren 2022-07-27 17:59:07 +08:00
parent 5b72904d49
commit e747c3baeb
No known key found for this signature in database
GPG Key ID: B2ECCFD3BC2EF77E
1 changed files with 22 additions and 0 deletions

22
.github/workflows/add-to-project.yml vendored Normal file
View File

@ -0,0 +1,22 @@
name: Add new issues and PRs to Vac Research project board
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@RELEASE_VERSION
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