asyncapi / .github

Location of all reusable community health files
29 stars 65 forks source link

help command fails in PRs #282

Closed derberg closed 6 months ago

derberg commented 6 months ago
SyntaxError: Unexpected identifier
    at new AsyncFunction (<anonymous>)
    at callAsyncFunction (/home/runner/work/_actions/actions/github-script/v6/dist/index.js:15143:16)
    at main (/home/runner/work/_actions/actions/github-script/v6/dist/index.js:15236:26)
    at /home/runner/work/_actions/actions/github-script/v6/dist/index.js:15217:1
    at /home/runner/work/_actions/actions/github-script/v6/dist/index.js:15268:3
    at Object.<anonymous> (/home/runner/work/_actions/actions/github-script/v6/dist/index.js:15271:12)
    at Module._compile (node:internal/modules/cjs/loader:1198:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1252:10)
    at Module.load (node:internal/modules/cjs/loader:1076:[32](https://github.com/asyncapi/cli/actions/runs/8554826425/job/23440941946#step:2:33))
    at Function.Module._load (node:internal/modules/cjs/loader:911:12)
Error: Unhandled error: SyntaxError: Unexpected identifier

reason is https://github.com/asyncapi/.github/blob/master/.github/workflows/help-command.yml#L34 and missing escape character

instead of

\`/please-take-a-look` or \`/ptal\`

we need

\`/please-take-a-look\` or \`/ptal\`
derberg commented 6 months ago

/gfi ci-cd