hazelcast / hazelcast/github-jira-tool-action

Doesn't work if PR title includes `quoted` content

Open
#2 2 comments 1 reaction 0 assignees View on GitHub
Dominant language
No language data
Stars
0
Forks
5
PR merge metrics
No merged PRs in 30d

Description

If the PR title has text quoted with ticks (``), the action errors.

https://github.com/hazelcast/hazelcast-cpp-client/actions/runs/1607302799

Pasting the log in case it gets deleted:
```
Run actions/github-script@v4.0.2
SyntaxError: Unexpected identifier
at new AsyncFunction ()
at callAsyncFunction (/home/runner/work/_actions/actions/github-script/v4.0.2/dist/index.js:2451:56)
at main (/home/runner/work/_actions/actions/github-script/v4.0.2/dist/index.js:2505:26)
Error: Unhandled error: SyntaxError: Unexpected identifier
at Module.272 (/home/runner/work/_actions/actions/github-script/v4.0.2/dist/index.js:2489:1)
at __webpack_require__ (/home/runner/work/_actions/actions/github-script/v4.0.2/dist/index.js:24:31)
at startup (/home/runner/work/_actions/actions/github-script/v4.0.2/dist/index.js:43:19)
at /home/runner/work/_actions/actions/github-script/v4.0.2/dist/index.js:49:18
at Object. (/home/runner/work/_actions/actions/github-script/v4.0.2/dist/index.js:52:10)
at Module._compile (internal/modules/cjs/loader.js:959:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:995:10)
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.