Conversation
Implement the first slice of the CI concept (phase 2): the DASH license check moves to the trusted chain, removing the pull_request_target trigger it used before for fork PRs. Trusted jobs get two entry points (ADR 0001): a direct call from on-pr.yml for repository PRs, merge group and pushes, and a thin workflow_run listener for forks, gated by the approved-for-ci label. The gate validates the label against the PR timeline so any push after labelling invalidates it; rejected runs skip with an explanatory PR comment instead of failing.
umaucher
requested review from
PandaeDo,
antonkri and
vinodreddy-g
as code owners
September 14, 2026 12:51
License Check Results🚀 The license check job ran with the Bazel command: bazel run --lockfile_mode=error //:license-checkStatus: Click to expand output |
Contributor
Author
|
Superseded by #423 (same commits, recreated from a repository branch so the new direct license-check path is exercised by the PR itself). |
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.
Implements the first slice of phase 2 of the CI concept (#420): the DASH license check moves to the trusted chain. Doc clarifications (trigger matrix, secrets inventory) are handled in #420.
Changes
license_check.yml(which used the bannedpull_request_targettrigger for forks) is replaced by:license_check_core.yml: reusable DASH check core with explicit head-SHA checkout for the fork pathtrusted_chain_gate.yml: reusableapproved-for-cifork gate — label must be present and nosynchronize/head_ref_force_pushedtimeline event after it (any push invalidates); rejects skip with an explanatory PR comment instead of failinglicense_check_forks.yml: thinworkflow_runlistener wiring gate + core for fork PRs onlyon-pr.ymlcalls the core directly for repository PRs,merge_groupandpush(ADR 0001: two entry points, one core)Notes for reviewers
approved-for-cilabel to codeowners.checkoutv7.0.1,setup-bazel0.19.0,create-or-update-commentv5.0.0, bazelisk 1.29.0).