From 2289c7a4d86f45db3a9f548ec468d61c95bdd9da Mon Sep 17 00:00:00 2001 From: Spayralbe Date: Mon, 15 Apr 2024 22:28:10 +0200 Subject: [PATCH] Add permissions --- .github/workflows/publish.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 0f3bbd6..8628f55 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -2,6 +2,9 @@ name: publish to PyPI 🐍 on: release +permissions: + contents: read + jobs: pypi-publish: name: upload release to PyPI @@ -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