diff --git a/.github/workflows/issues-dependency-check.yml b/.github/workflows/issues-dependency-check.yml index a741385..941aae4 100644 --- a/.github/workflows/issues-dependency-check.yml +++ b/.github/workflows/issues-dependency-check.yml @@ -14,7 +14,7 @@ jobs: github-token: ${{ secrets.GITHUB_TOKEN }} script: | // Updated regex to match multiple issue numbers - const issueRegex = /depends on #(\d+(?:\s+#\d+)*)/ig; + const issueRegex = /depends on #(\\d+(?:\\s+#\\d+)*)/ig; async function run() { const { context } = github; @@ -32,7 +32,7 @@ jobs: // Find issues mentioned in the description while ((match = issueRegex.exec(description)) !== null) { - const issues = match[1].split(/\s+#/); + const issues = match[1].split(/\\s+#/); for (const issueNumber of issues) { const { data: issue } = await github.rest.issues.get({ owner: context.repo.owner,