You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 10, 2026. It is now read-only.
Run roots/issue-closer@v1.1
##[debug]Matching against pattern /^.*description.*reproduce.*$/
##[debug]Body did not match
I've also tested with a pattern just like the example one shown in the README, without the begin and end anchors, but it also fails matching:
Run roots/issue-closer@v1.1
##[debug]Matching against pattern /.*description.*reproduce.*/
##[debug]Body did not match
Expected behavior:
Given that the issue body contains both words description and reproduce, I expected the issue-closer action to not close the issue.
Actual behavior: [What actually happens]
issue-closer is not able to match the provided regex, and closes an otherwise valid issue.
Reproduces how often: [What percentage of the time does it reproduce?]
100%
Versions
roots/issue-closer@v1.1
Additional information
The required key words to consider an issue as valid are in different lines. Given that the issue.body payload comes from Github in form of a single string, I expected that this wouldn't matter. However, it's possible that some pre-processing and cleaning of the body string must be done before Regexp matching (I am no JS programmer so I don't know the ins and outs of the source code)
Description
The
roots/issue-closer@v1.1Github Action fails regexp match against a correct issue body.Steps to reproduce
roots/issue-closer@v1.1I've also tested with a pattern just like the example one shown in the README, without the begin and end anchors, but it also fails matching:
Expected behavior:
Given that the issue body contains both words
descriptionandreproduce, I expected the issue-closer action to not close the issue.Actual behavior: [What actually happens]
issue-closer is not able to match the provided regex, and closes an otherwise valid issue.
Reproduces how often: [What percentage of the time does it reproduce?]
100%
Versions
roots/issue-closer@v1.1Additional information
The required key words to consider an issue as valid are in different lines. Given that the
issue.bodypayload comes from Github in form of a single string, I expected that this wouldn't matter. However, it's possible that some pre-processing and cleaning of the body string must be done before Regexp matching (I am no JS programmer so I don't know the ins and outs of the source code)