Tweak GH project automation

This commit is contained in:
Oskar Thoren 2021-07-15 13:54:56 +08:00
parent 37e0042b59
commit c112dc7c57
No known key found for this signature in database
GPG Key ID: B2ECCFD3BC2EF77E
1 changed files with 11 additions and 2 deletions

View File

@ -1,8 +1,10 @@
name: Add new issues Vac PM Board name: Add new issues and PRs to vac-research PM Board
on: on:
issues: issues:
types: [opened] types: [opened]
pull_request:
types: [opened]
jobs: jobs:
add-new-issue-to-new-column: add-new-issue-to-new-column:
@ -10,6 +12,13 @@ jobs:
steps: steps:
- uses: alex-page/github-project-automation-plus@v0.6.0 - uses: alex-page/github-project-automation-plus@v0.6.0
with: with:
project: Vac PM Board project: vac-research
column: New column: New
repo-token: ${{ secrets.GH_ACTION_PROJECT_MGMT }} 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 }}