Skip to content

Commit 37b2926

Browse files
committed
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.
1 parent 4258693 commit 37b2926

1 file changed

Lines changed: 11 additions & 9 deletions

File tree

.github/workflows/readme-pr-check.yml

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -43,15 +43,17 @@ jobs:
4343
owner,
4444
repo,
4545
issue_number: prNumber,
46-
body: `Thanks for your contribution!
47-
48-
**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.
49-
50-
👉 **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/).
51-
52-
👉 **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.
53-
54-
If this PR is adding a new server, please close it and submit to the registry instead.`
46+
body: [
47+
'Thanks for your contribution!',
48+
'',
49+
'**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.',
50+
'',
51+
'👉 **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/).',
52+
'',
53+
'👉 **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.',
54+
'',
55+
'If this PR is adding a new server, please close it and submit to the registry instead.',
56+
].join('\n'),
5557
});
5658
5759
handle-confirmation:

0 commit comments

Comments
 (0)