Skip to content

ci: migrate Claude composite actions and add shared pr-lint workflow - #4

Merged
Troublor merged 1 commit into
mainfrom
migrate-claude-actions-and-pr-lint
Jul 30, 2026
Merged

ci: migrate Claude composite actions and add shared pr-lint workflow#4
Troublor merged 1 commit into
mainfrom
migrate-claude-actions-and-pr-lint

Conversation

@Troublor

Copy link
Copy Markdown
Collaborator

What

Establishes megaeth-labs/.github as the org-wide home for shared CI.

  1. Migrates the Tier-1 Claude composite actions from megaeth-labs/documentation/.github/actions/ into this repo, verbatim:
    • claude-interactive, claude-pr-review (+ premortem.md, rubric.md, rubric-detail.md), claude-label-check, claude-issue-triage
    • They load prompt files via $GITHUB_ACTION_PATH, so they relocate with no code changes.
  2. Adds .github/workflows/pr-lint.yml — a reusable (workflow_call) workflow that lints the PR title against Conventional Commits. This generalizes mega-reth's inlined pr-title check into one org-wide source of truth. Allowed types are an input defaulting to the org convention (feat, fix, chore, test, bench, perf, refactor, docs, ci, revert, deps). Named pr-lint so more PR-level lint jobs can be added here later and be picked up by every consumer automatically.
  3. Rewrites the actions README for the new home (paths, consumer instructions, pinning guidance).

Rollout / follow-ups

  • Consumers of the documentation actions — mega-reth, mega-evm, mega-e2e, mega-agents, specification, stateless-validator — will be repointed to this repo in follow-up PRs, each pinned to this PR's merge SHA. mega-reth's pr-title.yml will also be refactored into a thin caller of pr-lint.yml (keeping its repo-specific compat: label job local).
  • The documentation copies are left in place until all consumers are migrated; removal is a later cleanup.
  • Org-admin action required: enable Settings → Actions → General → Access → "Accessible from repositories in the megaeth-labs organization" on this repo so private/internal consumers can call these actions and the reusable workflow.

🤖 Generated with Claude Code

Migrate the Tier-1 Claude CI composite actions (claude-interactive,
claude-pr-review, claude-label-check, claude-issue-triage) from
megaeth-labs/documentation into this org .github repo so they live in the
conventional home for org-wide shared CI. Actions are copied verbatim; they
load their prompt files via $GITHUB_ACTION_PATH so they relocate unchanged.

Add .github/workflows/pr-lint.yml, a reusable (workflow_call) workflow that
lints the PR title against Conventional Commits. Generalizes mega-reth's
inlined pr-title check into a single org-wide source of truth; allowed types
are an input defaulting to the org convention. Named pr-lint so further PR
lint jobs can be added here and picked up by every consumer.

Consumers (documentation actions are referenced by mega-reth, mega-evm,
mega-e2e, mega-agents, specification, stateless-validator) will be repointed
to this repo in follow-up PRs, pinned to this repo's merge SHA. The
documentation copies are left in place until all consumers are migrated.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GCc8MLBBAp5jAxc2x19swa
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