We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 08f89b4 commit 025b86fCopy full SHA for 025b86f
src/action.ts
@@ -62,7 +62,7 @@ export async function createAnIssue (tools: Toolkit) {
62
if (updateExisting !== null) {
63
tools.log.info(`Fetching issues with title "${templated.title}"`)
64
65
- let query = `is:issue repo:${process.env.GITHUB_REPOSITORY} in:title '${templated.title}'`
+ let query = `is:issue repo:${process.env.GITHUB_REPOSITORY} in:title '${templated.title.replace(/['"]/g, "\\$&")}'`
66
67
const searchExistingType = tools.inputs.search_existing || 'open'
68
const allowedStates = ['open', 'closed']
0 commit comments