Add new PRs to board

This commit is contained in:
Franck Royer 2021-06-01 16:03:37 +10:00
parent 7e77e7ae71
commit 1735beb798
No known key found for this signature in database
GPG Key ID: A82ED75A8DFC50A4
1 changed files with 12 additions and 1 deletions

View File

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