From ae6d716140c3683e604e57b2aeaba454cb24a7d0 Mon Sep 17 00:00:00 2001 From: Tom Lebreux Date: Thu, 14 Nov 2024 13:22:13 -0500 Subject: [PATCH] Fix permissions directive in GHA --- .github/workflows/release.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 592a3b8..f671538 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -8,6 +8,8 @@ on: jobs: release: runs-on: ubuntu-latest + permissions: + contents: write steps: - name : Checkout repository uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 @@ -17,6 +19,4 @@ jobs: gh --repo "${{ github.repository }}" release create ${{ github.ref_name }} --verify-tag --generate-notes env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - permissions: - contents: write