diff --git a/src/github.mjs b/src/github.mjs index 5871cd0..97f2702 100644 --- a/src/github.mjs +++ b/src/github.mjs @@ -65,7 +65,7 @@ export const findIssueByTitle = async (githubClient, title, { properties }) => { const githubOrg = properties.USER ?? DEFAULT_CONFIG.githubOrg; const issues = await githubClient.request('GET /search/issues', { - q: `is:open in:title repo:"${githubOrg}/${properties.REPO}" "${title}"`, + q: `in:title repo:"${githubOrg}/${properties.REPO}" "${title}"`, advanced_search: true, per_page: 1, });