Skip to content

Commit 7bfab6d

Browse files
committed
fix: Give the workflow write permissions
1 parent 2d2bcc3 commit 7bfab6d

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/build-publish.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ on:
1515
- pyproject.toml
1616
- poetry.lock
1717

18+
permissions:
19+
id-token: write
20+
contents: write
21+
1822
jobs:
1923
version-tag:
2024
name: Version tagging
@@ -68,8 +72,6 @@ jobs:
6872
build-publish:
6973
name: Build and publish
7074
runs-on: ubuntu-latest
71-
permissions:
72-
id-token: write
7375
needs: version-tag
7476
steps:
7577
- name: Checkout code

0 commit comments

Comments
 (0)