File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ permissions:
1414 contents : read
1515
1616jobs :
17- add-to-project :
17+ CCBR-projects :
1818 runs-on : ubuntu-latest
1919 steps :
2020 - name : Generate a token
@@ -26,13 +26,31 @@ jobs:
2626 private-key : ${{ secrets.CCBR_BOT_PRIVATE_KEY }}
2727 owner : CCBR
2828
29- - uses : actions/add-to-project@v1.0.2
29+ - name : add to CCBR techdev project
30+ uses : actions/add-to-project@v1.0.2
3031 with :
3132 project-url : https://github.com/orgs/CCBR/projects/17
3233 github-token : ${{ steps.generate-token.outputs.token }}
3334
34- - name : add to MOSuite project
35+ - name : add to CCBR MOSuite project
3536 uses : actions/add-to-project@v1.0.2
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 }}
You can’t perform that action at this time.
0 commit comments