From c115f02fd3f88fb67ae864d42c4b5dacf65fc071 Mon Sep 17 00:00:00 2001 From: Luca Comellini Date: Mon, 18 Dec 2023 12:53:07 -0800 Subject: [PATCH] Set permissions to close milestones for GoReleaser Problem: GoReleaser cant close milestones on release because it doesn't have the right permissions. Solution: Add write permissions for issues in the binary job so GoReleaser is able to close milestones. --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 01752b4179..57cc00df6a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -98,6 +98,7 @@ jobs: permissions: contents: write # for goreleaser/goreleaser-action and lucacome/draft-release to create/update releases id-token: write # for goreleaser/goreleaser-action to sign artifacts + issues: write # for goreleaser/goreleaser-action to close milestone steps: - name: Checkout Repository uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1