Skip to content

Commit fd4ed47

Browse files
committed
ci: Use in built GitHub token instead of PAT
1 parent f741d81 commit fd4ed47

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ name: Release
22

33
on: workflow_dispatch
44

5+
permissions:
6+
contents: write
7+
58
jobs:
69
release:
710
runs-on: ubuntu-latest
@@ -24,7 +27,7 @@ jobs:
2427
- name: Bump Version & Create GitHub Release
2528
run: knope release
2629
env:
27-
GITHUB_TOKEN: ${{ secrets.PAT }}
30+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2831
- name: Install Poetry
2932
run: pip install --upgrade poetry
3033
- name: Push to PyPI

0 commit comments

Comments
 (0)