Skip to content

Commit a4f45bf

Browse files
ci: switch to PAT for release-please
- Remove cron job - Use personal access token instead of GITHUB_TOKEN - Specifiy config and manifest files
1 parent d5f1763 commit a4f45bf

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/release-please.yml

+6-4
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ on:
44
push:
55
branches:
66
- 'main'
7-
schedule:
8-
- cron: '0 0 * * *'
97

108
permissions:
119
contents: write
@@ -19,5 +17,9 @@ jobs:
1917
- name: Release with release-please
2018
uses: google-github-actions/release-please-action@v4
2119
with:
22-
token: ${{ secrets.GITHUB_TOKEN }}
23-
release-type: simple
20+
# PAT with write access to the repository
21+
token: ${{ secrets.RELEASE_PLEASE_TOKEN }}
22+
# optional. customize path to release-please-config.json
23+
config-file: release-please-config.json
24+
# optional. customize path to .release-please-manifest.json
25+
manifest-file: .release-please-manifest.json

0 commit comments

Comments
 (0)