fix(release): grant actions:write on callers of release.yml (#1341)
release.yml's publish-release job got `actions: write` inf6cc2aeeso it can dispatch homebrew-bump.yml, but reusable-workflow permissions are capped by the caller. release-cut.yml and release-rc.yml only listed `contents: write`, so the first cut afterf6cc2aeedied with startup_failure (run 25244518794) before any job could start. Grant `actions: write` on both callers to match what release.yml needs. Co-authored-by: Orca <help@stably.ai>
This commit is contained in:
parent
1db7839570
commit
74a7a3c790
|
|
@ -39,6 +39,13 @@ on:
|
|||
|
||||
permissions:
|
||||
contents: write
|
||||
# Why: this workflow calls release.yml, whose publish-release job needs
|
||||
# actions: write to dispatch homebrew-bump.yml. Reusable workflows are
|
||||
# capped by the caller's permissions, so the caller must list every
|
||||
# scope the callee needs. Omitting this produced a startup_failure on
|
||||
# run 25244518794 immediately after actions:write was added to
|
||||
# release.yml in f6cc2aee.
|
||||
actions: write
|
||||
|
||||
concurrency:
|
||||
group: release-cut
|
||||
|
|
|
|||
|
|
@ -17,6 +17,11 @@ on:
|
|||
|
||||
permissions:
|
||||
contents: write
|
||||
# Why: this workflow calls release.yml, whose publish-release job needs
|
||||
# actions: write to dispatch homebrew-bump.yml. Reusable workflows are
|
||||
# capped by the caller's permissions, so the caller must list every
|
||||
# scope the callee needs. Mirrors the fix in release-cut.yml.
|
||||
actions: write
|
||||
|
||||
concurrency:
|
||||
group: release-rc
|
||||
|
|
|
|||
Loading…
Reference in New Issue