From f4b73e69c6f95de001e5d6f06ac7f08d93969722 Mon Sep 17 00:00:00 2001 From: Oskar Thoren Date: Wed, 27 Jul 2022 18:35:05 +0800 Subject: [PATCH] ci: GH workflow for adding issues to project board --- .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 000000000..dc12a7536 --- /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