generated from readthedocs/tutorial-template
-
Notifications
You must be signed in to change notification settings - Fork 8
34 lines (30 loc) · 982 Bytes
/
project_action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
name: Add issues to Development Project Board
on:
issues:
types:
- opened
jobs:
add-to-project:
name: Add issue to project
runs-on: ubuntu-latest
steps:
- name: GitHub App token
id: generate_token
uses: tibdex/github-app-token@v1.7.0
with:
app_id: ${{ secrets.APP_ID }}
private_key: ${{ secrets.APP_PEM }}
- name: Add to Developer Board
env:
TOKEN: ${{ steps.generate_token.outputs.token }}
uses: actions/add-to-project@v0.4.0
with:
project-url: https://github.com/orgs/NeurodataWithoutBorders/projects/7
github-token: ${{ env.TOKEN }}
- name: Add to Community Board
env:
TOKEN: ${{ steps.generate_token.outputs.token }}
uses: actions/add-to-project@v0.4.0
with:
project-url: https://github.com/orgs/NeurodataWithoutBorders/projects/8
github-token: ${{ env.TOKEN }}