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 2289c7a
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ name: publish to PyPI 🐍

on: release

permissions:
contents: read

jobs:
pypi-publish:
name: upload release to PyPI
Expand All @@ -21,5 +24,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 2289c7a

Please sign in to comment.