Skip to content

Commit eb66d1b

Browse files
committed
feat(ci): use RELEASE_TOKEN secret for release-please
- Update checkout and release-please-action to use RELEASE_TOKEN - Add default-branch: main and fork: false to release-please config - RELEASE_TOKEN is a fine-grained PAT with proper permissions configured via Terraform
1 parent 96e73b1 commit eb66d1b

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/release-please.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,16 @@ jobs:
2222
- uses: actions/checkout@v5
2323
with:
2424
fetch-depth: 0
25-
token: ${{ secrets.GITHUB_TOKEN }}
25+
token: ${{ secrets.RELEASE_TOKEN }}
2626

2727
- uses: googleapis/release-please-action@v4
2828
id: release_please
2929
with:
3030
release-type: go
3131
path: .
32-
token: ${{ secrets.GITHUB_TOKEN }}
32+
token: ${{ secrets.RELEASE_TOKEN }}
33+
default-branch: main
34+
fork: false
3335

3436
# Debug info
3537
- name: Debug Release Info

0 commit comments

Comments
 (0)