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 f4bc040 commit 02904f2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/issues-dependency-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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,
Expand Down

0 comments on commit 02904f2

Please sign in to comment.