Skip to content

Commit 15a508a

Browse files
authored
chore: Akquire token for release please on the fly (#304)
1 parent c36211e commit 15a508a

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/release-please.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,15 @@ jobs:
88
release-please:
99
runs-on: ubuntu-latest
1010
steps:
11+
- uses: navikt/github-app-token-generator@2d70c12368d1958155af4d283f9f21c9a2a8cb98
12+
id: get-token
13+
with:
14+
private-key: ${{ secrets.TOKENS_PRIVATE_KEY }}
15+
app-id: ${{ secrets.TOKENS_APP_ID }}
16+
1117
- uses: GoogleCloudPlatform/release-please-action@v3
1218
with:
1319
release-type: go
1420
package-name: netlify-commons
1521
bump-minor-pre-major: true
16-
token: ${{ secrets.PKG_RELEASE_TOKEN }}
22+
token: ${{ steps.get-token.outputs.token }}

0 commit comments

Comments
 (0)