Skip to content

Commit b4842d3

Browse files
authored
chore: update release-please config (#852)
- Use new repository for the action - Use nodejs-github-bot's PAT - Restrict permissions of `GITHUB_TOKEN`
1 parent 7734954 commit b4842d3

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/release-please.yml

+5-1
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,20 @@ on:
55
branches:
66
- main
77

8+
permissions:
9+
contents: read
10+
811
jobs:
912
release-please:
1013
runs-on: ubuntu-latest
1114
outputs:
1215
release_created: ${{ steps.release.outputs.release_created }}
1316
steps:
14-
- uses: google-github-actions/release-please-action@v4
17+
- uses: googleapis/release-please-action@v4
1518
id: release
1619
with:
1720
release-type: node
21+
token: ${{ secrets.RELEASE_PLEASE_GITHUB_TOKEN }}
1822
npm-publish:
1923
needs: release-please
2024
if: ${{ needs.release-please.outputs.release_created }}

0 commit comments

Comments
 (0)