Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: TypeError: Cannot read property 'groups' of null #34

Open
GiovanH opened this issue Aug 31, 2022 · 1 comment · May be fixed by #35
Open

Error: TypeError: Cannot read property 'groups' of null #34

GiovanH opened this issue Aug 31, 2022 · 1 comment · May be fixed by #35

Comments

@GiovanH
Copy link

GiovanH commented Aug 31, 2022

This is consistently failing as defined in https://github.com/GiovanH/actions/blob/main/.github/workflows/fresh-bot.yml, using the master branch. (It also fails with the v1 tag.)

Found stale bot comment https://api.github.com/repos/julmot/mark.js/issues/comments/1232336903 on issue https://api.github.com/repos/julmot/mark.js/issues/479
Error: TypeError: Cannot read property 'groups' of null

It looks like it's silently failing to fetch the commentParams object here:

const commentParams = commentUrlParamsRegex.exec(subjectUrl);

@GiovanH
Copy link
Author

GiovanH commented Aug 31, 2022

This is failing because commentUrlParamsRegex doesn't allow for the possibility of a non \w character in the repo name. The . in mark.js breaks it.

@thisismydesign thisismydesign linked a pull request Aug 31, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant