mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-19 01:46:49 +00:00
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'.
This commit is contained in:
parent
ede49fa5f3
commit
82c2259aeb
1
.github/workflows/release-tasks.yml
vendored
1
.github/workflows/release-tasks.yml
vendored
@ -101,6 +101,7 @@ jobs:
|
||||
release-sources:
|
||||
name: Package Release Sources
|
||||
permissions:
|
||||
contents: read
|
||||
id-token: write
|
||||
attestations: write
|
||||
needs:
|
||||
|
Loading…
x
Reference in New Issue
Block a user