From e747c3baeb8507fd26b27ccedf52671182765575 Mon Sep 17 00:00:00 2001 From: Oskar Thoren Date: Wed, 27 Jul 2022 17:59:07 +0800 Subject: [PATCH] ci: Add new issues and PRs to project board The other board can be removed once this is confirmed to work --- .github/workflows/add-to-project.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/add-to-project.yml diff --git a/.github/workflows/add-to-project.yml b/.github/workflows/add-to-project.yml new file mode 100644 index 0000000..dc12a75 --- /dev/null +++ b/.github/workflows/add-to-project.yml @@ -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