From 8abf22a97110d565b6d8e61491f7ed9c685c74d6 Mon Sep 17 00:00:00 2001 From: oskarth Date: Mon, 2 Aug 2021 11:14:00 +0800 Subject: [PATCH] Add issues and PRs to board automatically (#39) Also added repo secret --- .github/workflows/add-action-project.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/add-action-project.yml diff --git a/.github/workflows/add-action-project.yml b/.github/workflows/add-action-project.yml new file mode 100644 index 00000000..a9743e64 --- /dev/null +++ b/.github/workflows/add-action-project.yml @@ -0,0 +1,24 @@ +name: Add new issues and PRs to vac-research PM Board + +on: + issues: + types: [opened] + pull_request: + types: [opened] + +jobs: + add-new-issue-to-new-column: + runs-on: ubuntu-latest + steps: + - uses: alex-page/github-project-automation-plus@v0.6.0 + with: + project: vac-research + column: New + repo-token: ${{ secrets.GH_ACTION_PROJECT_MGMT }} + - name: Add pull request to column "Review/QA" + if: ${{ !!github.event.pull_request }} + uses: alex-page/github-project-automation-plus@v0.6.0 + with: + project: vac-research + column: Review/QA + repo-token: ${{ secrets.GH_ACTION_PROJECT_MGMT }}