Skip to content
This repository was archived by the owner on Jan 25, 2023. It is now read-only.

Commit faba180

Browse files
authored
Merge pull request #542 from netlify/chore/use_gh_app
chore(release-please): use GitHub app token
2 parents be42e45 + 413131b commit faba180

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,10 +7,13 @@
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
with:
12-
# We can't rely on the GITHUB_TOKEN as we need to trigger
13-
# further actions and the GITHUB_TOKEN doesn't allow it
14-
token: ${{ secrets.NODE_PKG_RELEASE_TOKEN }}
17+
token: ${{ steps.get-token.outputs.token }}
1518
release-type: node
1619
package-name: "@netlify/build-image"

0 commit comments

Comments
 (0)