Skip to content

Commit 5bc90f2

Browse files
committed
ci: Optimize GitHub workflow configuration.
- Add `GITHUB_TOKEN` to workflow environment variables - Remove redundant environment variable assignment in workflow configuration
1 parent 409497a commit 5bc90f2

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/fix-release.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@ permissions: write-all
1313

1414
env:
1515
VERSION: ${{ inputs.version }}
16+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1617

1718
jobs:
1819
publish-package:
1920
runs-on: ubuntu-latest
2021
continue-on-error: true
2122

2223
env:
23-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2424
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
2525

2626
steps:
@@ -37,7 +37,6 @@ jobs:
3737
arch: [linux/amd64, linux/arm64]
3838

3939
env:
40-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4140

4241
steps:
4342
- uses: actions/checkout@v4

0 commit comments

Comments
 (0)