ci: GH workflow for adding issues to project board

This commit is contained in:
Oskar Thoren 2022-07-27 18:35:05 +08:00
parent 2fec6c24ad
commit cbe162b104
No known key found for this signature in database
GPG Key ID: B2ECCFD3BC2EF77E

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