Repository navigation
ci: run validation without the write permission check [10.0] - #2433
Merged
Merged
Conversation
The workflow already runs on pull_request, so pull requests from forks get no secrets, and the check-permissions gate only kept automation such as GitHub Apps from running the build. Remove it like on main, and skip the jobs that need secrets for fork pull requests, as main does.
Fork pull requests skip the tests, so the status must not be skipped with them: a skipped required check would count as passing.
… [10.0] Fork pull requests have no test result artifacts to merge or publish, so skip those steps and let the final status check fail with the job results instead.
Artur-
approved these changes
Nov 28, 2026
Artur-
marked this pull request as ready for review
November 28, 2026 11:02
Artur-
enabled auto-merge (squash)
November 28, 2026 11:02
Contributor
…hout-permission-gate-10.0 # Conflicts: # .github/workflows/validation.yml
Artur-
approved these changes
Nov 28, 2026
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.
Summary
Removes the
check-permissionsgate from the validation workflow on the10.0branch, as was already done onmain. The gate failed every build started by an account without write access to the repository, including GitHub Apps, so pull requests opened by automation (for example cherry-picks opened by an App) never ran their checks until a maintainer re-ran them by hand.What changed
check-permissionsjob and theformat-checkdependency on it are removed. The workflow already runs onpull_request, so pull requests from forks get no secrets and the gate no longer protects anything.main, since they need secrets that fork builds do not get.main, the Validation Status job still runs for fork pull requests and fails because the tests were skipped, so a fork pull request cannot pass a required "Validation Status" check without the tests. Onmainthat job is skipped for forks; aligningmainis left for a separate change.Test summary
actionlintreports no new problems in the workflow.Working on behalf of @Artur-