Mirror of https://github.com/modelcontextprotocol/actions — GitHub Actions relevant to the management of MCP repositories.
  • JavaScript 100%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Den Delimarsky 96c6283aa5
slash-commands: restrict /lgtm to core maintainers, add auto-merge
/lgtm now only accepts members of always-allow-teams (core-maintainers
by default) — CODEOWNERS no longer grants /lgtm authorization. /hold
and /stageblog keep the team-or-CODEOWNERS rule.

On a successful /lgtm the action now:
- adds the accepted label (renamed from approved)
- submits the bot APPROVE review
- enables auto-merge (new)

Auto-merge is disabled on /lgtm cancel and on push invalidation. If the
PR is already mergeable when auto-merge is enabled, the action merges
directly instead.

This shifts the merge gate from the slash-commands/approval commit
status to GitHub's native required-reviews + auto-merge. The commit
status is now optional (set status-context to empty to skip). The
status sub-action is documented as optional for callers who want to
keep status-check-based gating.

New inputs: enable-auto-merge (default true), auto-merge-method
(default squash).
2026-03-26 22:51:03 +00:00
cloudflare-pages-preview cloudflare-pages-preview: add comment-mode=repost, extract scripts 2026-03-11 23:24:51 +00:00
hugo-build Add hugo-build composite action 2026-03-11 20:36:43 +00:00
slash-commands slash-commands: restrict /lgtm to core maintainers, add auto-merge 2026-03-26 22:51:03 +00:00
.gitignore Initial commit 2026-03-10 16:25:10 +00:00
CLAUDE.md Simplify secrets table: just the action input name, not full YAML 2026-03-10 16:49:12 +00:00
LICENSE Initial commit 2026-03-10 16:25:10 +00:00
README.md slash-commands: restrict /lgtm to core maintainers, add auto-merge 2026-03-26 22:51:03 +00:00

actions

GitHub Actions relevant to the management of MCP repositories.

Actions

Action Description
cloudflare-pages-preview/deploy Deploy a static HTML directory to Cloudflare Pages under a per-PR branch alias, inject noindex headers, and post a sticky PR comment with preview URLs
cloudflare-pages-preview/cleanup Delete Cloudflare Pages deployments for a closed PR's branch alias and update the sticky comment
hugo-build Install Go + Hugo extended and build a Hugo site (preview or production mode)
slash-commands Handle /lgtm (core-maintainers only: label + approve + auto-merge), /hold, and /stageblog PR slash commands; invalidate approval on push
slash-commands/status Optional: set a pending/failure commit status for callers using status-check-based gating instead of required-reviews + auto-merge