From 0dfc7020c85587566d6790ee840eed15c3345e19 Mon Sep 17 00:00:00 2001 From: Rene Schallner Date: Mon, 22 May 2023 03:21:37 +0200 Subject: [PATCH] trying to fix permissions for workflow --- .github/workflows/release.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 491adba..970daa5 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,7 +1,5 @@ name: Create Release, update README, send announceybot -# we need write permission on contents for the release action -permissions: read-all|write-all on: push: @@ -48,6 +46,9 @@ jobs: - name: Create Release id: create_release uses: actions/create-release@v1 + permissions: + id-token: read|write + contents: read|write env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions with: