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

Commit b803572

Browse files
committed
chore(release-please): use GitHub app token
1 parent be42e45 commit b803572

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/release-please.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,18 @@
33
push:
44
branches:
55
- xenial
6+
- chore/use_gh_app
67
jobs:
78
release-please:
89
runs-on: ubuntu-latest
910
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 }}
1016
- uses: GoogleCloudPlatform/release-please-action@v2
1117
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 }}
18+
token: ${{ steps.get-token.outputs.token }}
1519
release-type: node
1620
package-name: "@netlify/build-image"

0 commit comments

Comments
 (0)