From 487217519cd8dad207d04d5db966aacff3949b1d Mon Sep 17 00:00:00 2001 From: Mohammed Al Sahaf Date: Tue, 6 Sep 2022 00:35:47 +0300 Subject: [PATCH] ci: grant the `release` workflow the `write` permission to `contents` (#5017) --- .github/workflows/release.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8ab9488c1..435086fd7 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -25,7 +25,8 @@ jobs: permissions: id-token: write # https://docs.github.com/en/rest/overview/permissions-required-for-github-apps#permission-on-contents - contents: read + # "Releases" is part of `contents`, so it needs the `write` + contents: write steps: - name: Install Go