diff --git a/.github/workflows/issues-dependency-check.yml b/.github/workflows/issues-dependency-check.yml index 426e9df..e62b624 100644 --- a/.github/workflows/issues-dependency-check.yml +++ b/.github/workflows/issues-dependency-check.yml @@ -16,12 +16,11 @@ jobs: const issueRegex = /depends on #(\\d+(?:\\s+#\\d+)*)/ig; async function run() { - const description = pullRequest.body; let match; let blockingIssues = []; // Find issues mentioned in the description - while ((match = issueRegex.exec(description)) !== null) { + while ((match = issueRegex.exec(github.event.body)) !== null) { const issues = match[1].split(/\\s+#/); for (const issueNumber of issues) { const { data: issue } = await github.rest.issues.get({