From e381c593a314949035c6e91fb017a1cd9a3eb5a6 Mon Sep 17 00:00:00 2001 From: Adam Kudrna Date: Wed, 24 Apr 2024 13:32:17 +0200 Subject: [PATCH] Remove permissions settings from the release workflow The workflow should work even without it. --- .github/workflows/release-management.yml | 7 ------- 1 file changed, 7 deletions(-) diff --git a/.github/workflows/release-management.yml b/.github/workflows/release-management.yml index 09dfebb6..cf5191cd 100644 --- a/.github/workflows/release-management.yml +++ b/.github/workflows/release-management.yml @@ -4,9 +4,6 @@ on: push: branches: [ master ] -permissions: - contents: read - jobs: test_and_build: name: Test and build @@ -49,8 +46,6 @@ jobs: update_release_draft: name: Update release draft - permissions: - contents: write needs: [test_and_build] if: needs.test_and_build.outputs.version_changed == 'false' runs-on: ubuntu-20.04 @@ -111,8 +106,6 @@ jobs: deploy_docs: name: Deploy docs - permissions: - contents: write needs: [test_and_build, publish_release_draft_on_version_bump] if: needs.test_and_build.outputs.version_changed == 'true' runs-on: ubuntu-20.04