mirror of https://github.com/waku-org/js-waku.git
Merge #904
904: misc: add issues to Waku project r=fryorcraken a=fryorcraken Co-authored-by: fryorcraken.eth <git@fryorcraken.xyz>
This commit is contained in:
commit
2d229e489f
|
@ -0,0 +1,26 @@
|
||||||
|
name: Add new issues to js-waku project (classic)
|
||||||
|
|
||||||
|
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 }}
|
|
@ -1,26 +1,15 @@
|
||||||
name: Add new issues to js-waku project board
|
name: Add new issues to Waku project board
|
||||||
|
|
||||||
on:
|
on:
|
||||||
issues:
|
issues:
|
||||||
types: [opened]
|
types: [opened]
|
||||||
pull_request_target:
|
|
||||||
types: [opened]
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
add-new-issue-to-new-column:
|
add-to-project:
|
||||||
|
name: Add issue to project
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Add issue to column "New"
|
- uses: actions/add-to-project@v0.3.0
|
||||||
if: ${{ !!github.event.issue }}
|
|
||||||
uses: alex-page/github-project-automation-plus@v0.6.0
|
|
||||||
with:
|
with:
|
||||||
project: js-waku
|
project-url: https://github.com/orgs/waku-org/projects/2
|
||||||
column: New
|
github-token: ${{ secrets.GH_ACTION_PROJECT_MGMT }}
|
||||||
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 }}
|
|
||||||
|
|
Loading…
Reference in New Issue