Skip to content

Commit 60fcaee

Browse files
committed
switch to github app
1 parent 6971617 commit 60fcaee

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

.github/workflows/extensions.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -220,13 +220,21 @@ jobs:
220220
RELEASES: ${{ needs.fetch-releases.outputs.releases }}
221221

222222
steps:
223+
- name: Generate token for GitHub App
224+
id: generate-token
225+
uses: actions/create-github-app-token@v2
226+
with:
227+
app-id: 1129585
228+
private-key: ${{ secrets.POSIT_CONNECT_PROJECTS_PEM }}
229+
permission-contents: write
230+
223231
# Checkout main to commit the updated extension list
224232
# reduces the chance of conflicts when updating the extension list with
225233
# multiple running workflows
226-
- uses: actions/checkout@v4
234+
- uses: actions/checkout@v6
227235
with:
228236
ref: main
229-
ssh-key: ${{ secrets.DEPLOY_KEY }}
237+
token: ${{ steps.generate-token.outputs.token }}
230238

231239
- uses: actions/setup-node@v4
232240
with:

0 commit comments

Comments
 (0)