Skip to content

Commit 95e1bdd

Browse files
committed
updated permission
1 parent baaf83c commit 95e1bdd

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

.github/workflows/release.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,16 @@ on:
44
# tags:
55
# - '[0-9].[0-9]+.[0-9]+'
66

7+
permissions:
8+
id-token: write # IMPORTANT: this permission is mandatory for trusted publishing
9+
contents: read
10+
711
jobs:
812
publish:
913
name: Publish to PyPi
1014
# if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')
1115
runs-on: [self-hosted, linux, x64]
12-
permissions:
13-
id-token: write # IMPORTANT: this permission is mandatory for trusted publishing
16+
1417
steps:
1518
- name: Checkout source
1619
uses: actions/checkout@v4

0 commit comments

Comments
 (0)