js-waku/.github/workflows/add-action-project.yml

27 lines
753 B
YAML
Raw Normal View History

name: Add new issues to js-waku project board
2021-04-28 02:38:58 +00:00
2021-04-28 03:38:20 +00:00
on:
issues:
types: [opened]
2021-06-01 06:03:37 +00:00
pull_request:
types: [opened]
2021-04-26 10:34:11 +00:00
jobs:
2021-04-28 03:38:20 +00:00
add-new-issue-to-new-column:
2021-04-26 10:34:11 +00:00
runs-on: ubuntu-latest
steps:
2021-06-01 06:03:37 +00:00
- name: Add issue to column "New"
if: ${{ !!github.event.issue }}
uses: alex-page/github-project-automation-plus@v0.6.0
2021-04-28 02:38:58 +00:00
with:
project: js-waku
2021-04-28 02:38:58 +00:00
column: New
repo-token: ${{ secrets.GH_ACTION_PROJECT_MGMT }}
2021-06-01 06:03:37 +00:00
- 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 }}