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

27 lines
760 B
YAML

name: Add new issues to js-waku project board
on:
issues:
types: [opened]
pull_request_target:
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: 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 }}