Skip to content

ci: run validation without the write permission check [10.0] - #2433

Merged
Artur- merged 6 commits into
10.0from
ci/run-validation-without-permission-gate-10.0
Nov 28, 2026
Merged

Artur- merged 6 commits into
10.0from
ci/run-validation-without-permission-gate-10.0

Conversation

@totally-not-ai

@totally-not-ai totally-not-ai Bot commented Nov 28, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Removes the check-permissions gate from the validation workflow on the 10.0 branch, as was already done on main. 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

  • The check-permissions job and the format-check dependency on it are removed. The workflow already runs on pull_request, so pull requests from forks get no secrets and the gate no longer protects anything.
  • Unit and integration tests are skipped for pull requests from forks, as on main, since they need secrets that fork builds do not get.
  • Unlike 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. On main that job is skipped for forks; aligning main is left for a separate change.
  • Behavior change: pull requests from branches in this repository now run the full build for any author, App or human, without a maintainer re-run.

Test summary

  • actionlint reports no new problems in the workflow.
  • The workflow itself runs on this pull request.

Working on behalf of @Artur-

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.
@totally-not-ai
totally-not-ai Bot requested a review from Artur- November 28, 2026 10:51
@Artur-
Artur- marked this pull request as ready for review November 28, 2026 11:02
@Artur-
Artur- enabled auto-merge (squash) November 28, 2026 11:02
@github-actions

github-actions Bot commented Nov 28, 2026 •

Copy link
Copy Markdown
Contributor

Test Results

  167 files  +  137    167 suites  +137   14m 24s ⏱️ +40s
1 157 tests +  998  1 150 ✅ +  997   7 💤 +1  0 ❌ ±0 
1 610 runs  +1 368  1 600 ✅ +1 367  10 💤 +1  0 ❌ ±0 

Results for commit f7fccdb. ± Comparison against base commit e63e284.

♻️ This comment has been updated with latest results.

@totally-not-ai
totally-not-ai Bot requested a review from Artur- November 28, 2026 14:51
@Artur-
Artur- merged commit ca94179 into 10.0 Nov 28, 2026
9 checks passed
@Artur-
Artur- deleted the ci/run-validation-without-permission-gate-10.0 branch November 28, 2026 15:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant