Skip to content

Commit baed8b7

Browse files
authored
chore(release-please): use GitHub app token (#325)
1 parent c2c3f66 commit baed8b7

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/release-please.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,14 @@ jobs:
77
release-please:
88
runs-on: ubuntu-latest
99
steps:
10+
- uses: navikt/github-app-token-generator@2d70c12368d1958155af4d283f9f21c9a2a8cb98
11+
id: get-token
12+
with:
13+
private-key: ${{ secrets.TOKENS_PRIVATE_KEY }}
14+
app-id: ${{ secrets.TOKENS_APP_ID }}
1015
- uses: GoogleCloudPlatform/release-please-action@v2
1116
id: release
1217
with:
13-
# We can't rely on the GITHUB_TOKEN as we need to trigger
14-
# further actions and the GITHUB_TOKEN doesn't allow it
15-
token: ${{ secrets.NODE_PKG_RELEASE_TOKEN }}
18+
token: ${{ steps.get-token.outputs.token }}
1619
release-type: node
1720
package-name: '@netlify/open-api'

0 commit comments

Comments
 (0)