Repository navigation
fix(ci): dispatch all required checks for refresh PRs - #514
hivecommons-hive[bot] merged 1 commit into
Conversation
Add manual triggers to Internal Links and Markdown Lint and dispatch them from both refresh workflows. Require the complete check list in the workflow regression suite. Hive-Run: hivecommons#513 Hive-Plan: refresh-workflow-dispatch Hive-Spec: issue-513#fix-1-2 Signed-off-by: thatguywob <thatguywob@users.noreply.github.com>
👷 Deploy request for hivecommons-docs pending review.Visit the deploys page to approve it
|
f1f05f1
|
There was a problem hiding this comment.
Decision needed: @clubanderson should decide whether this .github/workflows/* change (adding workflow_dispatch to Internal Links and Markdown Lint, and listing both in the refresh dispatch lists) may land — the hive cannot approve workflow edits.
Read the tree, verified the premise, found no defect. Routing only because this edits .github/workflows/* and carries sentinel-alert.
What I checked at f1f05f1:
- The premise in #513 is real.
gh api repos/hivecommons/docs/actions/runs?branch=bot/hive-docs-refreshshows on #512 @092ce6b:Internal Links(40829898572) andMarkdown Lint(40829898696)pull_requestruns areaction_required, whileBuild/TypeScript & Lint Check/Vitest/npm auditall have greenworkflow_dispatchruns — exactly the four names in the pre-PRREQUIRED_CHECK_WORKFLOWS(hive-docs-refresh.yml:21,meeting-recordings-refresh.yml:16). - The fix mirrors the pattern the repo already uses:
build.yml:8-11has the sameworkflow_dispatch:trigger with the same (#335, #337) rationale. The dispatch loop (hive-docs-refresh.yml:84-87) iterates$REQUIRED_CHECK_WORKFLOWSwithgh workflow run "$wf" --ref "$REFRESH_BRANCH", so adding two filenames to the list is sufficient. - No permission change. Both newly-dispatchable workflows declare
permissions: read-all(check-internal-links.yml:45,markdownlint-cli2.yml:16) and the refresh job already heldactions: write(hive-docs-refresh.yml:26). No new secrets, no new interpolation intorun:. src/__tests__/refresh-workflow-dispatch.test.ts:58-69pins all six names for both refresh workflows;Run unit testsis green on this head.
Body matches diff; Fixes #513 is the right link semantics (the issue is fully resolved by this change).
One open question, not a defect: I could not read branch protection (403 for the App), so I cannot confirm Check internal doc links / markdownlint are required checks on main. It does not change the conclusion — the merge relay's ci gate rejects on any action_required run regardless of protection — but if they are not required, the maintainer may prefer dropping them from the list rather than dispatching them.
I have not approved or merged anything; this needs a human on the workflow files.
— 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 accept this workflow-trigger change (adds workflow_dispatch to two CI workflows and extends the refresh dispatch lists) — it carries sentinel-alert and touches .github/workflows/, so the trust call is yours.
Routing to a maintainer: the change reads correct to me, but it edits .github/workflows/ and carries sentinel-alert, so a human has to sign it.
What I verified against the tree at f1f05f1:
check-internal-links.yml:11andmarkdownlint-cli2.yml:4gainworkflow_dispatch:only. Neither job readsgithub.event.pull_request—check-linksrunsnpm ci/ sync /npm run check-linkson the checked-out ref,markdownlintruns the action on static globs — so both behave identically when dispatched on the PR branch. Permissions stayread-all; no new secrets, no interpolated input.hive-docs-refresh.yml:21andmeeting-recordings-refresh.yml:16extendREQUIRED_CHECK_WORKFLOWS; the dispatch loop athive-docs-refresh.yml:84-87(gh workflow run "$wf" --ref "$REFRESH_BRANCH") is unchanged and already iterates the list, so no new code path.- This mirrors the pattern already in
build.yml:8-11exactly as #513 prescribed. - The relay question I had — do the held
pull_requestruns still block even with a green dispatched twin? — is answered by #512 @092ce6b:Build,Vitest,TypeScript & Lint Check,npm auditalso haveaction_requiredpull_requestruns there, yet the relay only namedInternal LinksandMarkdown Lint. So a successfulworkflow_dispatchrun of the same workflow satisfies the gate, and this fix will clear it. - Test:
refresh-workflow-dispatch.test.ts:58-69is the regression guard; the existingit.each(required)cases (:76-91) extend automatically to the two new entries. The comment lines inserted underon:are skipped byreadTriggers(only^ {2}key:matches), so the parser is unaffected.
Nothing to flag; the PR body matches the diff. I have not approved or merged 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 @f1f05f1, 4/4 checks green, DCO yes, sentinel alert, soak 7m0s of 30m0s. How to release it:
Clear the cause and the hive re-evaluates on its next pass; the stage moves to |
|
Needs a decision, not a merge:
Head: verdict requires_human @f1f05f1, 4/4 checks green, DCO yes, sentinel alert, soak 12m0s of 30m0s. How to release it:
Clear the cause and the hive re-evaluates on its next pass; the stage moves to |
|
/lgtm Posted by @clubanderson from the Hive dashboard; the merge gate decides from here. |
|
@hivecommons-hive[bot]: changing LGTM is restricted to collaborators DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
|
/approve Posted by @clubanderson from the Hive dashboard; the merge gate decides from here. |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: hivecommons-hive[bot] 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 |
|
@clubanderson approved head |
|
Merged by hive contributor-lane auto-merge: CI green for ≥30m, reviewer verdict not required, @clubanderson approved this head as the owner decision ( |
Fixes
Fixes #513
Summary of Changes
Refresh PRs omit Internal Links and Markdown Lint from their explicit CI dispatches, leaving those workflows awaiting approval. Both refresh workflows now dispatch all six checks, and both missing workflows accept
workflow_dispatchon the PR branch.Changes Made
Checklist
Security Considerations
Validation
git diff --checkpassed.typosis unavailable locally.Reviewer Notes
This adds the dispatch path described in the issue. Live GitHub dispatch behavior requires the change to land; no refresh workflows were triggered during local validation.
— hive: backend=codex
🐝 Hive Agent:
contributor| SHA:f1f05f1