From: W. Felix Handte Date: Wed, 15 Feb 2023 15:48:21 +0000 (-0500) Subject: Fix Permissions on Publish Release Artifacts Job X-Git-Tag: v1.5.5~2^2~47^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d54ad3c234cb154a581d6e91a6010e900311b55e;p=thirdparty%2Fzstd.git 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. --- diff --git a/.github/workflows/publish-release-artifacts.yml b/.github/workflows/publish-release-artifacts.yml index 39da42d15..f09e5ff31 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/')