ci: update actions

This commit is contained in:
jfrazx 2025-03-14 19:43:09 -07:00
parent 607f143861
commit 9f883a5019
No known key found for this signature in database
GPG key ID: 7E72C3BCC0F85A7B
7 changed files with 29 additions and 20 deletions

View file

@ -14,11 +14,11 @@ jobs:
steps:
- name: Check issue headings
uses: actions/github-script@v6
uses: actions/github-script@v7
with:
script: |
const issueBody = context.payload.issue.body || "";
// Match Markdown headings (e.g., # Heading, ## Heading)
const headingRegex = /^(#{1,6})\s.+/gm;
const headings = [...issueBody.matchAll(headingRegex)];
@ -39,4 +39,4 @@ jobs:
issue_number: context.payload.issue.number,
state: "closed"
});
}
}