fix(ci): grant permissions required by csharp-ci/scala-ci v2.4.0#29
Merged
Merged
Conversation
The reusable workflows' matrix-comment job (github-actions#36) requests actions:read and pull-requests:write; a called workflow cannot request a permission the caller does not grant, and GitHub validates this statically at run creation - every CI run since the floating v2 tag moved to 2.4.0 (2026-07-14) ended in startup_failure before any job ran.
Contributor
Contributor
Contributor
C# build matrix
|
Contributor
Scala build matrix
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
One-line class of fix applied org-wide: the reusable workflows' new
matrix-commentjob (github-actions#36, shipped in 2.4.0 on the floatingv2tag) requestsactions: read(+ usespull-requests: write). A called workflow cannot request a permission its caller doesn't grant, and GitHub validates this statically at run creation — so everyCIrun in this repo since 2026-07-14 07:09Z ended instartup_failurebefore any job ran, on push and PR events alike.This grants the missing scope(s) in the workflow-level
permissions:block. Decision by the release owner: grant the read-only scope in all consumers and keep the sticky build-matrix comment feature, rather than revert it provider-side (see peacefulstudio/github-actions#37, closed).Sibling fix verified live in daml-codegen-csharp-internal#637 (first CI run to start since the tag moved).