Skip to content

Commit 5d1a76f

Browse files
authored
chore(release-please): use GitHub app token (#156)
1 parent b5f5fc2 commit 5d1a76f

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/release-please.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,15 @@ 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-
token: ${{ secrets.NODE_PKG_RELEASE_TOKEN }}
18+
token: ${{ steps.get-token.outputs.token }}
1419
release-type: node
1520
package-name: '@netlify/eslint-config-node'
1621
- uses: actions/checkout@v2

0 commit comments

Comments
 (0)