Repository navigation
Mechanically extract the existing reviewer gate - #484
Open
Parth Aggarwal (parth21999) wants to merge 3 commits into
Open
Parth Aggarwal (parth21999) wants to merge 3 commits into
Parth Aggarwal (parth21999) wants to merge 3 commits into
Conversation
Extract the existing gate without changing production callers. Add an opt-in head/target snapshot contract, fail closed on shared-PR API errors, and exercise the real Bash with 64 offline fixtures and read-only CI. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
|
Azure Pipelines: There may be pipelines that require an authorized user to comment /azp run to run. |
Member
Author
|
/AzurePipelines run |
|
You have several pipelines (over 10) configured to build pull requests in this repository. Specify which pipelines you would like to run by using /azp run [pipelines] command. You can specify multiple pipelines using a comma separated list. |
Member
Author
|
/azp run Azure-C-Build-Tools-Gate |
|
Azure Pipelines: Successfully started running 1 pipeline(s). |
Member
Author
Keep only the new composite action and copy the existing master workflow Bash verbatim. Remove the snapshot API, runtime hardening, extra documentation, and fixture infrastructure from this prerequisite PR. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Member
Author
|
/AzurePipelines run |
|
You have several pipelines (over 10) configured to build pull requests in this repository. Specify which pipelines you would like to run by using /azp run [pipelines] command. You can specify multiple pipelines using a comma separated list. |
Member
Author
|
/azp run Azure-C-Build-Tools-Gate |
|
Azure Pipelines: Successfully started running 1 pipeline(s). |
Coerce the composite string input before applying the original default so omitted, empty, and zero values still require two approvals. Keep the original Bash block byte-for-byte unchanged. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Member
Author
|
/AzurePipelines run |
|
You have several pipelines (over 10) configured to build pull requests in this repository. Specify which pipelines you would like to run by using /azp run [pipelines] command. You can specify multiple pipelines using a comma separated list. |
Member
Author
|
/azp run Azure-C-Build-Tools-Gate |
|
Azure Pipelines: Successfully started running 1 pipeline(s). |
Parth Aggarwal (parth21999)
enabled auto-merge (squash)
November 7, 2026 00:14
auto-merge was automatically disabled
November 7, 2026 00:15
Pull request removed from stack
Parth Aggarwal (parth21999)
enabled auto-merge (squash)
November 7, 2026 00:15
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
Converts the existing workflow's reviewer-gate logic into a shared composite action. The Bash policy and comments remain unchanged, with minimal input wiring to preserve existing defaults. The existing workflow is unchanged and remains active; this PR does not switch execution.
The action allows a workflow to fetch and execute a trusted version selected at runtime. Workflows are still needed for events, runners, and permissions. Consumers will reuse this same centrally maintained action rather than separate gate implementations.
Further work
deps/c-build-toolsSHA.This PR adds only
.github/actions/two-human-reviewers/action.yml. Verified: byte-identical dedented Bash, Bash syntax, and input/default compatibility. No caller, policy, or dependency changes are included.