Skip to content

Commit

Permalink
fix dep. check
Browse files Browse the repository at this point in the history
  • Loading branch information
adamamer20 committed Feb 3, 2024
1 parent ce53d2e commit 1d968a3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/issues-dependency-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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({
Expand Down

0 comments on commit 1d968a3

Please sign in to comment.