Skip to content

Commit d82ff79

Browse files
authored
chore: add permissions to the release file (#1734)
1 parent 5f930e3 commit d82ff79

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,15 +72,15 @@ jobs:
7272
publish-pypi:
7373
name: Publish packages to PyPi
7474
runs-on: ubuntu-22.04
75-
7675
needs: package
77-
76+
permissions:
77+
id-token: write
78+
contents: read
7879
steps:
7980
- uses: actions/download-artifact@v4
8081
with:
8182
name: built-artifacts
8283
path: dist/
83-
8484
- uses: pypa/gh-action-pypi-publish@release/v1
8585
with:
8686
packages-dir: dist/

0 commit comments

Comments
 (0)