diff --git a/.github/workflows/add-issue-to-project.yml b/.github/workflows/add-issue-to-project.yml index 490a215d..a9743e64 100644 --- a/.github/workflows/add-issue-to-project.yml +++ b/.github/workflows/add-issue-to-project.yml @@ -1,8 +1,10 @@ -name: Add new issues Vac PM Board +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: @@ -10,6 +12,13 @@ jobs: steps: - uses: alex-page/github-project-automation-plus@v0.6.0 with: - project: Vac PM Board + 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 }}