From: Alex Date: Mon, 19 Sep 2022 15:51:59 +0000 (+0200) Subject: build: harden GitHub Workflow permissions X-Git-Tag: v1.5.4^2~157^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=091917a4a1ef1b5f57ea1fd96034cd13dcf6c68d;p=thirdparty%2Fzstd.git build: harden GitHub Workflow permissions Signed-off-by: Alex Low --- diff --git a/.github/workflows/publish-release-artifacts.yml b/.github/workflows/publish-release-artifacts.yml index a87a75efa..fb9c3ec14 100644 --- a/.github/workflows/publish-release-artifacts.yml +++ b/.github/workflows/publish-release-artifacts.yml @@ -5,8 +5,15 @@ on: types: - published +permissions: + contents: read + 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) + runs-on: ubuntu-latest if: startsWith(github.ref, 'refs/tags/')