From 5ef76f119c239565c5207d55148ccc69d73fddb8 Mon Sep 17 00:00:00 2001 From: Sascha Montellese Date: Fri, 27 Aug 2021 08:45:49 +0000 Subject: [PATCH] fix the permissions of GITHUB_TOKEN in publish-to-pypi workflow --- .github/workflows/publish-to-pypi.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/publish-to-pypi.yml b/.github/workflows/publish-to-pypi.yml index 3b16494..b342964 100644 --- a/.github/workflows/publish-to-pypi.yml +++ b/.github/workflows/publish-to-pypi.yml @@ -8,6 +8,9 @@ on: - 'v*' workflow_dispatch: +permissions: + contents: write + jobs: build-and-publish: runs-on: ubuntu-latest