From 1812c3e60e5b8b28c8905564499b227da9d09156 Mon Sep 17 00:00:00 2001 From: Isabelle Miller Date: Tue, 10 Dec 2024 13:52:10 +0100 Subject: [PATCH] change goreleaser permissions to contents:write only --- .github/workflows/release.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 49aa74d0..2e1c9e6c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -19,8 +19,7 @@ jobs: runs-on: ubuntu-latest needs: [ release-package ] permissions: - contents: read - pull-requests: write + contents: write if: ${{ needs.release-package.outputs.upload-tag-name != ''}} steps: - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2