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 60ed112c52
slash-commands/status: force pending on synchronize to close auto-merge race
When new commits are pushed, the status job and handle job both fire on
the same synchronize event and run in parallel. The event payload's
pr.labels reflect the PRE-push state — so if the PR was approved before
the push, the status job reads 'approved' from the payload and sets
success on the NEW SHA, even though handle is about to (or already did)
remove the label.

Observed in modelcontextprotocol#2375: label removed at 23:06:29, status
set success at 23:06:30 (one second later, from stale payload), merged
at 23:06:34.

Fix: add invalidate-on-push input (default true, mirroring the main
action). On synchronize with invalidation enabled, set pending
unconditionally — don't trust the payload labels. The subsequent
unlabeled event re-evaluates and stays pending.
2026-03-11 23:09:07 +00:00
cloudflare-pages-preview Add pr-number input to cloudflare-pages-preview actions 2026-03-11 20:25:04 +00:00
hugo-build Add hugo-build composite action 2026-03-11 20:36:43 +00:00
slash-commands slash-commands/status: force pending on synchronize to close auto-merge race 2026-03-11 23:09:07 +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 Add slash-commands/status sub-action for pending-state merge gate 2026-03-11 22:56:18 +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, /hold, and /stageblog PR slash commands gated by team membership + CODEOWNERS; invalidate approval on push
slash-commands/status Set a pending/success/failure commit status based on approval/hold labels — yellow pending check until /lgtm, not red