Add GH project board automation (#666)

* Add GH project board automation

* Tweak column name

* Tweak
This commit is contained in:
oskarth 2021-07-15 13:49:50 +08:00 committed by GitHub
parent 92f2d5a7f5
commit 040f19f8b4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 26 additions and 0 deletions

View File

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