Fix YAML syntax error in readme-pr-check workflow

The template literal body had no indentation, which broke YAML's
block literal parsing. Use array.join('\n') instead.
This commit is contained in:
Adam Jones 2026-01-06 14:38:04 +00:00
commit 37b2926d2f
No known key found for this signature in database

View file

@ -43,15 +43,17 @@ jobs:
owner, owner,
repo, repo,
issue_number: prNumber, issue_number: prNumber,
body: `Thanks for your contribution! body: [
'Thanks for your contribution!',
**We are no longer accepting PRs to add new servers to the README.** The server lists are deprecated and will eventually be removed entirely, replaced by the registry. '',
'**We are no longer accepting PRs to add new servers to the README.** The server lists are deprecated and will eventually be removed entirely, replaced by the registry.',
👉 **To add a new MCP server:** Please publish it to the [MCP Server Registry](https://github.com/modelcontextprotocol/registry) instead. You can browse published servers at [registry.modelcontextprotocol.io](https://registry.modelcontextprotocol.io/). '',
'👉 **To add a new MCP server:** Please publish it to the [MCP Server Registry](https://github.com/modelcontextprotocol/registry) instead. You can browse published servers at [registry.modelcontextprotocol.io](https://registry.modelcontextprotocol.io/).',
👉 **If this PR updates or removes an existing entry:** We do still accept these changes. Please reply with \`/i-promise-this-is-not-a-new-server\` to continue. '',
'👉 **If this PR updates or removes an existing entry:** We do still accept these changes. Please reply with `/i-promise-this-is-not-a-new-server` to continue.',
If this PR is adding a new server, please close it and submit to the registry instead.` '',
'If this PR is adding a new server, please close it and submit to the registry instead.',
].join('\n'),
}); });
handle-confirmation: handle-confirmation: