Skip to content

Commit 442c604

Browse files
authored
Merge pull request #485 from NeurodataWithoutBorders/project_action
Create project_action.yml
2 parents da49922 + 51f0010 commit 442c604

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: Add issues to Development Project Board
2+
3+
on:
4+
issues:
5+
types:
6+
- opened
7+
8+
jobs:
9+
add-to-project:
10+
name: Add issue to project
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: GitHub App token
14+
id: generate_token
15+
uses: tibdex/[email protected]
16+
with:
17+
app_id: ${{ secrets.APP_ID }}
18+
private_key: ${{ secrets.APP_PEM }}
19+
20+
- name: Add to Developer Board
21+
env:
22+
TOKEN: ${{ steps.generate_token.outputs.token }}
23+
uses: actions/[email protected]
24+
with:
25+
project-url: https://github.com/orgs/NeurodataWithoutBorders/projects/7
26+
github-token: ${{ env.TOKEN }}
27+
28+
- name: Add to Community Board
29+
env:
30+
TOKEN: ${{ steps.generate_token.outputs.token }}
31+
uses: actions/[email protected]
32+
with:
33+
project-url: https://github.com/orgs/NeurodataWithoutBorders/projects/8
34+
github-token: ${{ env.TOKEN }}

0 commit comments

Comments
 (0)