From d54ad3c234cb154a581d6e91a6010e900311b55e Mon Sep 17 00:00:00 2001 From: "W. Felix Handte" Date: Wed, 15 Feb 2023 10:48:21 -0500 Subject: [PATCH] Fix Permissions on Publish Release Artifacts Job Publishing release artifacts requires the `contents` permission, as documented by: https://docs.github.com/en/rest/overview/permissions-required-for-github-apps. --- .github/workflows/publish-release-artifacts.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/publish-release-artifacts.yml b/.github/workflows/publish-release-artifacts.yml index 39da42d157c..f09e5ff3160 100644 --- a/.github/workflows/publish-release-artifacts.yml +++ b/.github/workflows/publish-release-artifacts.yml @@ -10,8 +10,7 @@ permissions: read-all jobs: publish-release-artifacts: permissions: - contents: read # to fetch code (actions/checkout) - actions: write # to attach binaries to release artifacts (skx/github-action-publish-binaries) + contents: write # to fetch code and upload artifacts runs-on: ubuntu-latest if: startsWith(github.ref, 'refs/tags/')