[all-commits] [llvm/llvm-project] eea8e4: workflows: Fix permissions for release-sources job...
Tom Stellard via All-commits
all-commits at lists.llvm.org
Sat Aug 10 03:30:10 PDT 2024
Branch: refs/heads/release/19.x
Home: https://github.com/llvm/llvm-project
Commit: eea8e4ddd8206a5b04a7c7217e76a48ea2ff386b
https://github.com/llvm/llvm-project/commit/eea8e4ddd8206a5b04a7c7217e76a48ea2ff386b
Author: Tom Stellard <tstellar at redhat.com>
Date: 2024-08-10 (Sat, 10 Aug 2024)
Changed paths:
M .github/workflows/release-tasks.yml
Log Message:
-----------
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)
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list