From 01e7211c4e7530e9a79c5b20838fe896e4d398f3 Mon Sep 17 00:00:00 2001 From: Christophe Tafani-Dereeper Date: Mon, 27 Nov 2023 22:10:20 +0100 Subject: [PATCH] Fix goreleaser permissions (#437) --- .github/workflows/release.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 61a691ae..ac98f411 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -10,13 +10,12 @@ defaults: working-directory: ./v2 permissions: - contents: read + contents: write + pull-requests: write jobs: goreleaser: runs-on: ubuntu-latest - permissions: - contents: write steps: - name: Harden Runner uses: step-security/harden-runner@1b05615854632b887b69ae1be8cbefe72d3ae423