Skip to content

Commit b85346c

Browse files
committed
fix(workflows): pass GITHUB_TOKEN
1 parent 8fda1a8 commit b85346c

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,5 @@ jobs:
2424
BASH_ENV: ./lib.sh
2525
DRY_RUN: false
2626
TAGS_FILE: tags.txt
27+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2728
run: ./workflows/release/tag.sh

.github/workflows/release_pr.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,14 +36,15 @@ jobs:
3636
uses: actions/setup-go@v5
3737
with:
3838
go-version: 1.23
39-
- run: go install github.com/tcodes0/go/cmd/changelog
39+
- run: go install github.com/tcodes0/go/cmd/changelog@latest
4040

4141
- name: Update changelog
4242
shell: bash
4343
env:
4444
CHANGELOG_FILE: CHANGELOG.md
4545
BASH_ENV: ./lib.sh
4646
TAGS_FILE: tags.txt
47+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4748
run: ./workflows/release/changelog.sh "${{ inputs.url }}" "${{ inputs.title }}" "${{ inputs.tag_prefix }}"
4849

4950
- name: Open PR

0 commit comments

Comments
 (0)