From 040f19f8b4f161cb7e429eac4b7bea258cad6708 Mon Sep 17 00:00:00 2001 From: oskarth Date: Thu, 15 Jul 2021 13:49:50 +0800 Subject: [PATCH] Add GH project board automation (#666) * Add GH project board automation * Tweak column name * Tweak --- .github/workflows/add-action-project.yml | 26 ++++++++++++++++++++++++ 1 file changed, 26 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 000000000..0b949e72e --- /dev/null +++ b/.github/workflows/add-action-project.yml @@ -0,0 +1,26 @@ +name: Add new issues and PRs to nim-waku project board + +on: + issues: + types: [opened] + pull_request: + types: [opened] + +jobs: + add-new-issue-to-new-column: + runs-on: ubuntu-latest + steps: + - name: Add issue to column "New" + if: ${{ !!github.event.issue }} + uses: alex-page/github-project-automation-plus@v0.6.0 + with: + project: nim-waku + 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: nim-waku + column: Review/QA + repo-token: ${{ secrets.GH_ACTION_PROJECT_MGMT }}