From 1735beb7985cf67aad64d0c2076a0348e3056e00 Mon Sep 17 00:00:00 2001 From: Franck Royer Date: Tue, 1 Jun 2021 16:03:37 +1000 Subject: [PATCH] Add new PRs to board --- .github/workflows/add-action-project.yml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/.github/workflows/add-action-project.yml b/.github/workflows/add-action-project.yml index 5ecdd10d8b..16d498c718 100644 --- a/.github/workflows/add-action-project.yml +++ b/.github/workflows/add-action-project.yml @@ -3,13 +3,24 @@ name: Add new issues to js-waku project 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 + - name: Add issue to column "New" + if: ${{ !!github.event.issue }} + uses: alex-page/github-project-automation-plus@v0.6.0 with: project: js-waku column: New repo-token: ${{ secrets.GH_ACTION_PROJECT_MGMT }} + - name: Add pull request to column "In Progress" + if: ${{ !!github.event.pull_request }} + uses: alex-page/github-project-automation-plus@v0.6.0 + with: + project: js-waku + column: In Progress + repo-token: ${{ secrets.GH_ACTION_PROJECT_MGMT }}