Add GH project automation

This commit is contained in:
Oskar Thoren 2021-07-15 14:02:36 +08:00
parent d69e43915d
commit 3272eeba2b
No known key found for this signature in database
GPG Key ID: B2ECCFD3BC2EF77E
1 changed files with 24 additions and 0 deletions

View File

@ -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 }}