Skip to content

Commit

Permalink
fix check
Browse files Browse the repository at this point in the history
  • Loading branch information
adamamer20 committed Feb 3, 2024
1 parent 5eef752 commit 79f1697
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/issues-dependency-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,11 @@ jobs:
- name: Check for unresolved dependencies
uses: actions/github-script@v7
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
const core = require('@actions/core');
const github = require('@actions/github');
// Updated regex to match multiple issue numbers
const issueRegex = /depends on #(\d+(?:\s+#\d+)*)/ig;
Expand Down Expand Up @@ -52,6 +56,4 @@ jobs:
}
}
run().catch(error => core.setFailed(error.message));
run().catch(error => core.setFailed(error.message));

0 comments on commit 79f1697

Please sign in to comment.