Repository navigation
🌱 chore(ci): run action-pins gate self-test - #14761
Conversation
Exercise the gate before resolving the repository's action pins. The self-test is provided by hivecommons#14730. Hive-Run: hivecommons#14729 Hive-Plan: action-pins-ci-self-test Hive-Spec: hivecommons#14729#recommendation Signed-off-by: thatguywob <thatguywob@users.noreply.github.com>
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
@thatguywob this PR is back in your court ( Failing checks:
Reply here or push a new head to this branch (same sign-off); CI and the review swarm re-run automatically and the PR returns to the normal path. Your relay session received this as a |
Bring the gate fixes and hermetic self-test from hivecommons#14730 into this branch so the new workflow step can execute before that prerequisite merges. Preserve coverage for empty pin sets and workflow filename diagnostics. Co-authored-by: quality <280983584+hivecommons-hive[bot]@users.noreply.github.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Signed-off-by: thatguywob <thatguywob@users.noreply.github.com>
Open PR overlap checkBase branch: Conflicts are checked with every PR merged onto the current tip of No conflicting open PRs or same-file overlaps were found. |
|
Supersession sweep found that this PR's claimed issue is already closed by another merged PR.
Decision needed (@hivecommons): #14730 already merged and closed the claimed issue, but this PR touches files the merged PR did not. Recommended: keep open until the extra changes are reviewed, or close as superseded if they are not wanted. Another option: merge anyway. Files the merged PR did not touch: This comment is edited in place by the supersession sweep; it is not duplicated. |
a3522cf
|
There was a problem hiding this comment.
Decision needed: @clubanderson should decide whether to accept this fork PR's two-line addition to .github/workflows/go-security-analysis.yml (a bash src/scripts/test-check-action-pins.sh step before the SHA check) — it is the only part of #14729 that #14730 did not land, and workflow edits need a human push.
Routing to a maintainer rather than judging: this is a fork-authored edit to a workflow file and carries the sentinel alert. The facts, verified against the tree:
- What is actually new.
#14730is merged. I diffed the two PRs: apart from#14730'sgo.mod/go.sumlines (absent here), the script, self-test and changelog hunks are byte-identical, so against today'sv5they are no-ops. The sole remaining delta is.github/workflows/go-security-analysis.yml:282-283— arun: bash src/scripts/test-check-action-pins.shstep inserted in theaction-pinsjob afteractions/checkoutand before "Check every pinned action SHA exists". - It is not on v5 yet.
grep test-check-action-pinsonv5'sgo-security-analysis.ymlfinds nothing;src/scripts/test-check-action-pins.sh(14,650 bytes) does exist onv5.#14729asked for exactly this wiring and was titled "needs human: workflows permission"; the supersession sweep closed it via#14730, which did not touch the workflow. So the issue's ask is still open in substance. - Risk surface. No
permissions:change, no new action, no network: the step runs a script already in the repository under the job's existing token. Author@thatguywobis a relay contributor, not an OWNERS approver, and the branch lives onthatguywob/hive— nobody in the hive can push to it, so a rebase or trimming the redundant commits is the author's or a maintainer's to do.
If the wiring is wanted, this PR carries it; if a maintainer prefers to add the two lines directly on v5, this one can be closed as superseded. I have not approved or closed anything.
— hive: agent=reviewer backend=copilot model=claude-fable-5.1 copilot=1.0.88
There was a problem hiding this comment.
Decision needed: @clubanderson should decide whether to land the two-line action-pins self-test step in .github/workflows/go-security-analysis.yml now that its prerequisite #14730 has merged — the step is the only delta this PR still carries, and a workflow edit needs an owner push regardless.
Routing to a maintainer: this PR carries sentinel-alert and edits a workflow file, so it is not mine to judge. The facts, verified against v5 at 64a7bcd:
- Prerequisite #14730 merged at 2026-10-28T00:42Z. Its
src/scripts/check-action-pins.shis byte-identical to this PR's copy, itssrc/scripts/test-check-action-pins.shhas the same blob (c796f13), andchangelog.d/fixed-check-action-pins-gate.mdalready exists onv5. Three of this PR's four files are therefore no-ops against the base after a rebase. - The one real remaining delta is the two-line step at
.github/workflows/go-security-analysis.yml:282-283(run: bash src/scripts/test-check-action-pins.sh), inserted in the existingaction-pinsjob before the real check.v5does not have this step yet, so the PR is not redundant — it is the workflow wiring #14729 asked for. - Trust surface check: the workflow runs on
pull_request(notpull_request_target) withpermissions: contents: read(go-security-analysis.yml:70-71), and theaction-pinsjob already executessrc/scripts/check-action-pins.shfrom the PR tree (line 285). Running a second script from the same tree under the same token adds no new capability. Fork PRs stay onubuntu-latestvia the existingruns-onexpression. - Does it work: I ran the self-test from this head locally —
check-action-pins tests: all passed, exit 0 — and the merged check still reportsaction pin check OKagainst the realv5workflows, so adding the step will not turn the job red. - Body vs diff: the body says "Tests were not run locally"; that is accurate and the gap is now closed by the run above.
The PR head is 9 commits behind v5 and diverged; a rebase onto v5 should reduce it to the workflow change alone. Since the hive App token cannot push .github/workflows/*, this needs the owner to either merge as-is after rebase or cherry-pick the two lines directly. I have not approved or changed anything.
— hive: agent=reviewer-2 backend=copilot model=claude-fable-5.1 copilot=1.0.88
|
Needs a decision, not a merge:
Head: verdict requires_human @a3522cf, 55/55 checks green, DCO yes, sentinel alert, soak 29m0s of 30m0s. How to release it:
Clear the cause and the hive re-evaluates on its next pass; the stage moves to |
|
/hive decision approve Approving head Sentinel |
clubanderson
left a comment
There was a problem hiding this comment.
Owner approval for head a3522cf — see /hive decision approve above. Two-line self-test step only; sentinel sensitive_path alert acknowledged by the owner.
|
LGTM label has been added. DetailsGit tree hash: fc528f65222e72192425e384993fbc3d9d1085e2 |
|
|
Run
bash src/scripts/test-check-action-pins.shin the existingaction-pinsjob immediately before the real action-pin check, so regressions in the gate fail the job before it evaluates the repository workflows.Depends on #14730, which supplies the self-test and gate fixes and must merge first. This PR completes the workflow wiring requested in the issue.
Fixes #14729
Validation: inspected the two-line workflow diff and step ordering. Tests were not run locally per AGENTS.md; the self-test is supplied by the still-open prerequisite #14730 and CI will execute it after that prerequisite lands.
— hive: backend=codex
🐝 Hive Agent:
contributor| SHA:8a8ff058b