Mirror of https://github.com/modelcontextprotocol/actions — GitHub Actions relevant to the management of MCP repositories.
- JavaScript 100%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
PR #5 broke the action in production — the require() fails with MODULE_NOT_FOUND because actions/github-script bundles @actions/github into dist/index.js; it's not in node_modules and not resolvable from a sibling require()'d file. Fix: flip the architecture. github-script's 'github' client now uses bot-token (GITHUB_TOKEN), so the single 'github' object serves all user-visible operations. The PAT is passed via env (ORG_TOKEN) and used ONLY for the team-membership call via github.request() with an explicit authorization header override. Side effect: PAT requirements shrink further. It now ONLY needs Organization Members:read — no repo perms, no Actions:write. All repo-level operations (including workflow dispatch) use GITHUB_TOKEN with the workflow's permissions: block. |
||
| cloudflare-pages-preview | ||
| hugo-build | ||
| slash-commands | ||
| .gitignore | ||
| CLAUDE.md | ||
| LICENSE | ||
| README.md | ||
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 |