Skip to content

Commit c39b86a

Browse files
authored
chore: adjust release please workflow (#2840)
1 parent de22449 commit c39b86a

File tree

1 file changed

+6
-11
lines changed

1 file changed

+6
-11
lines changed

.github/workflows/release-please.yml

+6-11
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,18 @@ on:
33
push:
44
branches:
55
- main
6+
7+
permissions:
8+
contents: write
9+
pull-requests: write
10+
issues: write
11+
612
jobs:
713
release-please:
814
runs-on: ubuntu-latest
915
steps:
10-
- uses: navikt/github-app-token-generator@793caf0d755fb4d6e88150825f680f188535cb48
11-
id: get-token
12-
with:
13-
private-key: ${{ secrets.TOKENS_PRIVATE_KEY }}
14-
app-id: ${{ secrets.TOKENS_APP_ID }}
1516
- uses: googleapis/release-please-action@v4
1617
id: release
17-
with:
18-
token: ${{ steps.get-token.outputs.token }}
1918
- uses: actions/checkout@v4
2019
if: ${{ steps.release.outputs.release_created }}
2120
- uses: actions/setup-node@v4
@@ -40,7 +39,3 @@ jobs:
4039
if: ${{ steps.release.outputs.release_created }}
4140
env:
4241
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
43-
- uses: netlify/submit-build-plugin-action@v1
44-
if: ${{ steps.release.outputs.release_created }}
45-
with:
46-
github-token: ${{ steps.get-token.outputs.token }}

0 commit comments

Comments
 (0)