Skip to content

refactor(actions): move the synced comment and machine-path composites to their convention names - #675

Merged
kyle-sexton merged 2 commits into
mainfrom
refactor/move-synced-composites
Oct 4, 2026
Merged

kyle-sexton merged 2 commits into
mainfrom
refactor/move-synced-composites

Conversation

@kyle-sexton

Copy link
Copy Markdown
Contributor

No related issue: convention-driven path rename tracked by the org rename map.

Summary

Moves .github/actions/comment-hygiene to check-comment-markers and .github/actions/machine-specific-paths to check-machine-paths, per standards rename-map.json.

Fix

git mv of both directories; path references updated in pr-run-checks.yml, pr-require-checks.yml, README.md and ci-fanout-consolidation.test.cjs. Workflow_call input names, composite name: values and script file names are unchanged (as in #669).

Verification

  • Fan-out consolidation tests: 12 pass; scan-tree, superset and machine-path test scripts exit 0.
  • actionlint: only the pre-existing $/ placeholder findings.
  • naming-lint (enforcing): 0 blocking, 1 unrelated warning (plan job id in maintenance-sync-standards.yml).

Related

🤖 Generated with Claude Code

…s to their convention names

Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
@kyle-sexton
kyle-sexton marked this pull request as ready for review October 4, 2026 13:55
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 4, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-04T13:57:50.374912Z 1a044c2 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 1a044c21f2

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread .github/workflows/pr-run-checks.yml
…eir new dirs

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
@kyle-sexton
kyle-sexton merged commit 86d5dcd into main Oct 4, 2026
25 of 27 checks passed
@kyle-sexton
kyle-sexton deleted the refactor/move-synced-composites branch October 4, 2026 14:02
kyle-sexton added a commit that referenced this pull request Oct 4, 2026
No related issue: Phase 5 plan step (shared Dependabot auto-merge
reusable R); tracked in the actions-conventions plan, not an issue.

## Summary

Adds `.github/workflows/pr-automerge-dependabot.yml`, a `workflow_call`
reusable that arms GitHub squash auto-merge on low-risk Dependabot PRs.
GitHub then merges once `ci-status` and every other required check pass.
It implements standards `components/dependabot-policy/policy.json`
`autoMerge` (`github-actions`; `actions/*`, `github/*`, `anthropics/*`;
no semver-major; `ci-status`).

## Fix

- Gates, all required: event is `pull_request`; PR author id `49699333`
(dependabot[bot]); event sender (`github.event.sender.id`, the pusher)
is `49699333`; fetch-metadata succeeded, and failed, empty or invalid
metadata is a skip; every update's ecosystem is `github_actions`; every
dependency name matches the case-sensitive allowlist glob; every update
is semver patch or minor (grouped PRs included; an uncomputable type
skips); every PR commit, head included, has author `49699333`, committer
`19864447` (web-flow) and a signature verified with reason `valid`. That
commit shape matches live Dependabot commits on medley#2094 and
ci-workflows #651, #655 and #674.
- fetch-metadata is `continue-on-error`, and the gate step runs on
`!cancelled()`. A force-push that makes fetch-metadata fail therefore
still reaches the disarm.
- Arms with `enablePullRequestAutoMerge(mergeMethod: SQUASH,
expectedHeadOid: <verified head>)`. No direct-merge fallback, so nothing
merges around `ci-status`.
- A skipped PR that was armed on an earlier head is disarmed (GitHub
keeps auto-merge on after a push by a write-access user).
- No checkout; PR-derived values reach the script via `env:` only. Job
permissions: `contents: write`, `pull-requests: write`. Input: `runner`
(default `ubuntu-24.04`).
- The gate runs inline in `actions/github-script` because a reusable has
no ci-workflows checkout.
`.github/scripts/pr-automerge-dependabot.test.cjs` extracts the script
and runs it against fixtures, picked up by `test-contracts` (`node
--test .github/scripts/*.test.cjs`).
- README entry with the canonical caller.

## Verification

- `node --test .github/scripts/*.test.cjs`: 219 pass, 0 fail (27 in the
new file: vendor patch armed, vendor major, community patch, mixed
group, vendor group with one major, non-Dependabot author,
non-Dependabot sender, foreign head commit, forged author with a
non-web-flow committer, unsigned commit, non-`valid` reason, moved head,
non-actions ecosystem, lookalike owner, `Actions/checkout` case variant,
empty and invalid metadata, failed metadata fetch disarmed, disarm).
- Mutation spot-checks (unanchored glob, head-moved check, disarm,
signature, committer, reason, sender, metadata outcome,
continue-on-error) each turn a test red.
- actionlint 1.7.12 and zizmor 1.30.0 clean on the new workflow;
markdownlint and typos clean.
- naming-lint `--mode enforcing` exits 0 after merging origin/main
(#675).

## Related

- Phase 5 plan Phase 3 (R). Next: Fable review, a minor release, then
the standards `approvedReusableWorkflowContracts` entry and the
allowlist lockstep test (separate PRs).
- Ports medley `.github/workflows/dependabot-automerge.yml`.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant