From 62e373eafb9ff4ef23f78626c593570f393d0682 Mon Sep 17 00:00:00 2001 From: Klaus Post Date: Mon, 13 Mar 2023 07:10:57 -0700 Subject: [PATCH] Fix Goreleaser permissions (#777) (hopefully) fixes: ``` Invalid workflow file: .github/workflows/release.yml#L13 The workflow is not valid. .github/workflows/release.yml (Line: 13, Col: 9): Unexpected value 'content' ``` --- .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 494a65ef5f..6e88546207 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -5,12 +5,11 @@ on: tags: - 'v*' -permissions: read-all +permissions: + content: write # for goreleaser/goreleaser-action to create a GitHub release jobs: goreleaser: - permissions: - content: write # for goreleaser/goreleaser-action to create a GitHub release runs-on: ubuntu-latest steps: -