Repository navigation
64 lines (56 loc) · 1.84 KB
/
Copy pathgh-projects.yml
File metadata and controls
64 lines (56 loc) · 1.84 KB
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
name: TechDev-project
on:
issues:
types:
- opened
pull_request:
types:
- opened
permissions:
issues: write
pull-requests: write
contents: read
jobs:
CCBR-projects:
runs-on: ubuntu-latest
steps:
- name: Generate a token
id: generate-token
uses: actions/create-github-app-token@v2
with:
app-id: ${{ vars.CCBR_BOT_APP_ID }}
private-key: ${{ secrets.CCBR_BOT_PRIVATE_KEY }}
owner: CCBR
- name: add to CCBR techdev project
uses: actions/add-to-project@v1.0.2
with:
project-url: https://github.com/orgs/CCBR/projects/17
github-token: ${{ steps.generate-token.outputs.token }}
- name: add to CCBR MOSuite project
uses: actions/add-to-project@v1.0.2
if: github.event_name == 'issues'
with:
project-url: https://github.com/orgs/CCBR/projects/32
github-token: ${{ steps.generate-token.outputs.token }}
NIDAP-projects:
runs-on: ubuntu-latest
steps:
- name: Generate a token
id: generate-token
uses: actions/create-github-app-token@v2
with:
app-id: ${{ vars.CCBR_BOT_APP_ID }}
private-key: ${{ secrets.CCBR_BOT_PRIVATE_KEY }}
owner: NIDAP-Community
- name: add to NIDAP MOSuite project
uses: actions/add-to-project@v1.0.2
if: github.event_name == 'issues'
with:
project-url: https://github.com/orgs/NIDAP-Community/projects/3
github-token: ${{ steps.generate-token.outputs.token }}
- name: add to syncweaver-orchestrator project
uses: actions/add-to-project@v2
if: github.event_name == 'pull_request'
with:
project-url: https://github.com/orgs/NIDAP-Community/projects/4
github-token: ${{ steps.generate-token.outputs.token }}