Skip to content

Commit 6c26c04

Browse files
🔄 synced local '.github/workflows/' with remote 'template_workflows/project_automation/'
1 parent 4debe22 commit 6c26c04

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

‎.github/workflows/add_iss2project.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,14 @@ jobs:
1010
name: Add issue to project
1111
runs-on: ubuntu-latest
1212
steps:
13+
- name: Generate a token
14+
id: generate-token
15+
uses: actions/create-github-app-token@v1
16+
with:
17+
app-id: ${{ vars.NB_BOT_ID }}
18+
private-key: ${{ secrets.NB_BOT_KEY }}
19+
1320
- uses: actions/add-to-project@main
1421
with:
1522
project-url: https://github.com/orgs/neurobagel/projects/1
16-
github-token: ${{ secrets.NB_PROJECT_PAT }}
23+
github-token: ${{ steps.generate-token.outputs.token }}

0 commit comments

Comments
 (0)