https://github.com/tru updated https://github.com/llvm/llvm-project/pull/102373
>From eea8e4ddd8206a5b04a7c7217e76a48ea2ff386b Mon Sep 17 00:00:00 2001 From: Tom Stellard <tstel...@redhat.com> Date: Wed, 7 Aug 2024 14:19:22 -0700 Subject: [PATCH] workflows: Fix permissions for release-sources job (#100750) For reusable workflows, the called workflow cannot upgrade it's permissions, and since the default permission is none, we need to explicitly declare 'contents: read' when calling the release-sources workflow. Fixes the error: The workflow is requesting 'contents: read', but is only allowed 'contents: none'. (cherry picked from commit 82c2259aeb87f5cb418decfb6a1961287055e5d2) --- .github/workflows/release-tasks.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/release-tasks.yml b/.github/workflows/release-tasks.yml index b7fea0785fed29..cf42730aaf8170 100644 --- a/.github/workflows/release-tasks.yml +++ b/.github/workflows/release-tasks.yml @@ -101,6 +101,7 @@ jobs: release-sources: name: Package Release Sources permissions: + contents: read id-token: write attestations: write needs: _______________________________________________ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits