Skip to content

Commit b644510

Browse files
angelphanthenryH
andauthored
🐛 add mandatory permissions for trusted publishing (#8)
* 🐛 add mandatory permissiones for trusted publishing * 🎨 move settings for rule to other settings for rule --------- Co-authored-by: Henry Webel <heweb@dtu.dk>
1 parent 9d642ff commit b644510

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/cicd.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,8 @@ jobs:
106106
publish:
107107
name: Publish package
108108
if: startsWith(github.ref, 'refs/tags')
109+
permissions:
110+
id-token: write
109111
needs:
110112
- format
111113
- lint
@@ -125,3 +127,4 @@ jobs:
125127
with:
126128
# remove repository key to set the default to pypi (not test.pypi.org)
127129
repository-url: https://test.pypi.org/legacy/
130+

0 commit comments

Comments
 (0)