From 487217519cd8dad207d04d5db966aacff3949b1d Mon Sep 17 00:00:00 2001 From: Mohammed Al Sahaf Date: Tue, 6 Sep 2022 00:35:47 +0300 Subject: ci: grant the `release` workflow the `write` permission to `contents` (#5017) --- .github/workflows/release.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to '.github/workflows') diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8ab9488..435086f 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 -- cgit v1.2.3