Skip to content

Commit a7a3cef

Browse files
committed
ci: Switch back to PAT for release
1 parent dc93ccf commit a7a3cef

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,14 @@ name: Release
22

33
on: workflow_dispatch
44

5-
permissions:
6-
contents: write
7-
85
jobs:
96
release:
107
runs-on: ubuntu-latest
118
steps:
129
- uses: actions/checkout@v3
1310
with:
1411
fetch-depth: 0
15-
token: ${{ secrets.GITHUB_TOKEN }}
12+
token: ${{ secrets.PAT }}
1613
- name: Import GPG key
1714
uses: crazy-max/ghaction-import-gpg@v5
1815
with:
@@ -27,7 +24,7 @@ jobs:
2724
- name: Bump Version & Create GitHub Release
2825
run: knope release
2926
env:
30-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
27+
GITHUB_TOKEN: ${{ secrets.PAT }}
3128
- name: Install Poetry
3229
run: pip install --upgrade poetry
3330
- name: Push to PyPI

0 commit comments

Comments
 (0)