ci: gate hosted Actions behind KRITICAL_GW_HOSTED_GATES_ENABLED (local gating only) - #3
Merged
Conversation
… gating only) Same proven shape as Kritical.GreatWhite.Control.EngineeringSystem's great-white-gates.yml, applied to all 5 jobs (build-vscode-extension, test-ps-module, test-mcp-server, test-continue-config, test-install-scripts). Addition only -- no trigger, step, or job removed/renamed.
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.
Adds the proven opt-in hosted-CI guard so GitHub Actions consumes zero billable minutes while billing is blocked (until 2026-09-01) and local gates are authoritative.
The change
Purely additive — a comment and one
if:line per job:Why this shape rather than deleting or disabling workflows
completed/skipped→ zero billable minutesEvidence
Kritical.GreatWhite.Control.EngineeringSystem/.github/workflows/great-white-gates.ymlonorigin/main, already live and confirmed producingskippedruns at $0.gh api repos/.../actions/variablesreturnstotal_count: 0on every affected repo — unset everywhere, so nothing can silently re-enable early.Measured cause
Three private repos were confirmed executing and consuming minutes:
Kritical-ShopifyVault(10/10 recent runs executed and failed),Kritical.PS.ModuleDevelopment(windows-latest= 2× multiplier), andKritical.AL.D365BC.Connector.Pax8-to-Storefront.Kritical.SCXCodeis public (free) but guarded for consistency.Non-claims
Does not disable any workflow, delete any file, remove any gate step, or set any repository variable. Does not alter what the gates test — only whether hosted runners execute them.
To re-enable next month: set repository variable
KRITICAL_GW_HOSTED_GATES_ENABLED = true.