Skip to content

Commit

Permalink
Add permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
Spayralbe committed Apr 15, 2024
1 parent 7ae313a commit f62599e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ jobs:
permissions:
# IMPORTANT: this permission is mandatory for trusted publishing
id-token: write
contents: read
steps:
- uses: actions/checkout@v4
- name: Set up Python
Expand All @@ -21,5 +22,5 @@ jobs:
uses: snok/install-poetry@v1
- name: build package distributions
run: poetry build
- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
# - name: Publish package distributions to PyPI
# uses: pypa/gh-action-pypi-publish@release/v1

0 comments on commit f62599e

Please sign in to comment.