Skip to content

Commit db6d914

Browse files
committed
fix: add GITHUB_TOKEN environment variable to changelogithub step
Signed-off-by: Frost Ming <me@frostming.com>
1 parent 963df65 commit db6d914

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.github/workflows/on-release-main.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,21 +22,20 @@ jobs:
2222

2323
- run: npx changelogithub
2424
continue-on-error: true
25+
env:
26+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2527

2628
publish:
2729
runs-on: ubuntu-latest
2830
steps:
2931
- name: Check out
3032
uses: actions/checkout@v6
33+
with:
34+
fetch-depth: 0
3135

3236
- name: Set up the environment
3337
uses: ./.github/actions/setup-python-env
3438

35-
- name: Download updated pyproject.toml
36-
uses: actions/download-artifact@v7
37-
with:
38-
name: pyproject-toml
39-
4039
- name: Build package
4140
run: uv build
4241

0 commit comments

Comments
 (0)