You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
chore(governance): pin CodeGovernanceLab/PrGovernance to 04fe02de - #42
The diff is a mechanical pin bump: all three CodeGovernanceLab/PrGovernance/pr-governance references move from full SHA 5c4348e9... to full SHA 04fe02de..., so SHA-pinning is preserved and workflow permissions are unchanged. The problem is provenance, not syntax: this action runs inside security-gating workflows (the gitleaks secret scan and the risk-gate job that holds statuses: write), and the PR provides no verifiable evidence for the new revision — no link to the action repo's commit or pull request, no diff between the two revisions, and no test run of these workflows against the new pin. The PR body's claims that the revision 'passed its own suites' and that 'every required check still runs' are self-asserted, and the body itself says an AI harness selected the pin. Per the repository's own security checklist (CI/deploy configs: verify third-party actions), the target revision must be independently reviewed or attested before this bump is merged; an unvetted revision of a privileged governance action is a direct supply-chain vector (it could mark failing builds as passing, weaken fail-closed gates, or exfiltrate the workflow token).
[MEDIUM].github/workflows/risk-gate.yml: Unvetted revision bump of a privileged third-party action. The pr-governance action here runs with statuses: write and enforces the risk gate, yet the PR moves it to 04fe02de... with no verifiable provenance: no link to the action repo's commit/PR, no inter-revision diff versus 5c4348e9..., and the PR body states an automated harness ('DeepSeek Harness') prepared the pin. The body's verification claims ('passed its own suites', 'every required check still runs') are self-asserted and untrusted. A maintainer must independently review the target revision (or link its reviewed PR and a run of this workflow against the new pin) before merging; a behavior-changed or compromised revision could write misleading commit statuses, bypass the fail-closed gate, or leak the job token.
[LOW].github/workflows/gitleaks.yml: No compatibility evidence for the action's input/env contract at the new revision. The scan job passes with: mode: scan and the risk-gate jobs rely on GOVERNANCE_OWNER_ID / GOVERNANCE_OWNER_LOGIN env vars; if revision 04fe02de renamed inputs, changed default modes, or altered the env contract, the secret-scan and gate jobs could silently no-op or fail open — weakening the leak scanner with no visible error. Link a test execution of both workflows against the new pin to confirm the contract is unchanged.
The diff is mechanically correct and consistent: both workflows move CodeGovernanceLab/PrGovernance/pr-governance from one full 40-character SHA (5c4348e9...) to another (04fe02de...), so SHA-pinning is preserved, job permissions are unchanged, and no steps or required checks are removed. The unresolved problem is provenance. Nothing in the PR lets a reviewer verify that 04fe02de... is a legitimate, maintainer-published revision of the third-party action: there is no upstream commit/release link, no changelog, and no summary of what changed between the two revisions. The only justification is the untrusted, self-referential claim that the revision 'passed its own suites in its pull request', and the vague 'a fix that lands in the action' rationale never identifies the fix. Because pr-governance executes third-party code in a job granted statuses: write and gates governance checks, an unverified pin bump is a direct CI supply-chain risk. Require upstream provenance before merging, and confirm no other references to the old SHA remain in the repository.
[MEDIUM].github/workflows/risk-gate.yml: Unverifiable supply-chain provenance for the new third-party action revision. Both jobs now run CodeGovernanceLab/PrGovernance@04fe02d, but the PR provides no upstream commit/PR/release link, no changelog, and no summary of what changed between 5c4348e9d9ffbacf5526164a5be7f5c9f74fbfaf and 04fe02de...; the sole justification ('passed its own suites in its pull request') is self-referential and cannot be validated during review. This action runs in a job with statuses: write and controls governance gating, so an arbitrary or compromised revision would directly compromise CI. Block merge until the target SHA is tied to a documented, maintainer-published upstream release or PR.
[LOW].github/workflows/gitleaks.yml: The same unproven revision is also injected into the secret-scan step, which executes third-party code against the full repository history (fetch-depth: 0). Even for a pure pin bump, the PR should cite the upstream release notes or the action's own diff between 5c4348e9 and 04fe02de so reviewers can confirm scan behavior and revision authenticity; the current 'a fix that lands in the action' rationale is not auditable.
[LOW].github/workflows/risk-gate.yml: The description claims 'Every CodeGovernanceLab/PrGovernance reference moves to one revision', but the diff only touches two files. Run a repository-wide search to confirm no other workflow still references 5c4348e9d9ffbacf5526164a5be7f5c9f74fbfaf (or a mutable tag/branch); otherwise the estate-alignment claim is inaccurate and governance behavior will silently diverge between workflows.
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
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.
AI assistance
DeepSeek Harness prepared the pin and this body.
What changed
Every
CodeGovernanceLab/PrGovernancereference moves to one revision so this repositorymatches the rest of the estate.
How verified
The target revision passed its own suites in its pull request; this change
only rewrites the pin.
Why
A pinned action only takes effect at the revision each repository names, so a
fix that lands in the action does nothing until every consumer moves.
Risk
R2, workflow definitions only. Every required check still runs.