Skip to content

Commit 7452267

Browse files
ci: add issues to NIDAP MOSuite project
1 parent 49fae4a commit 7452267

1 file changed

Lines changed: 22 additions & 4 deletions

File tree

‎.github/workflows/mosuite-techdev-project.yml‎

Lines changed: 22 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ permissions:
1414
contents: read
1515

1616
jobs:
17-
add-to-project:
17+
CCBR-projects:
1818
runs-on: ubuntu-latest
1919
steps:
2020
- name: Generate a token
@@ -25,14 +25,32 @@ jobs:
2525
private-key: ${{ secrets.CCBR_BOT_PRIVATE_KEY }}
2626
owner: CCBR
2727

28-
- uses: actions/add-to-project@v1.0.2
28+
- name: add to CCBR techdev project
29+
uses: actions/add-to-project@v1.0.2
2930
with:
3031
project-url: https://github.com/orgs/CCBR/projects/17
3132
github-token: ${{ steps.generate-token.outputs.token }}
3233

33-
- name: add to MOSuite project
34+
- name: add to CCBR MOSuite project
3435
uses: actions/add-to-project@v1.0.2
3536
if: github.event_name == 'issues'
3637
with:
3738
project-url: https://github.com/orgs/CCBR/projects/32
38-
github-token: ${{ steps.generate-token.outputs.token }}
39+
github-token: ${{ steps.generate-token.outputs.token }}
40+
NIDAP-projects:
41+
runs-on: ubuntu-latest
42+
if: github.event_name == 'issues'
43+
steps:
44+
- name: Generate a token
45+
id: generate-token
46+
uses: actions/create-github-app-token@v2
47+
with:
48+
app-id: ${{ vars.CCBR_BOT_APP_ID }}
49+
private-key: ${{ secrets.CCBR_BOT_PRIVATE_KEY }}
50+
owner: NIDAP-Community
51+
52+
- name: add to NIDAP MOSuite project
53+
uses: actions/add-to-project@v1.0.2
54+
with:
55+
project-url: https://github.com/orgs/NIDAP-Community/projects/3
56+
github-token: ${{ steps.generate-token.outputs.token }}

0 commit comments

Comments
 (0)