-
Notifications
You must be signed in to change notification settings - Fork 24
PR Triage stopped picking up new PRs and reviews #221
Comments
We're having the same issue too. |
I've had the issue recently too. Pulled down the the repo and set up a dev app for some debugging. It appears that Probot got updated again, changing the API so the app can't get the list of reviews anymore. I'll try to put together a PR shortly to fix it. |
If I'm reading the code correctly, Draft PRs should also get the correct label, it's just the labels that depend on looking at the actual reviews (the useful part) that are erroring. |
It seems like Octokit, the JS library for accessing the GitHub API, changed how Pull Requests are accessed, changing the name from `pullRequests` to `pulls`. This PR implements the name change Closes pr-triage#221
Experiencing this as well |
@stevelacey @maestromac @allout58 @twomedia I am sorry not to fix this issue very quickly but @allout58 created a pull request for it. 🎉 🙇 |
I think TypeScript could help, in that it would complain if things like this changed underneath the code. I'm more familiar with using TS completely, but I believe there is a way to get it to just run type checks on JS code |
Is your feature request related to a problem? Please describe.
I don't think we changed anything on our organization but PR Triage no longer labels things correctly at all:
unreviewed
, that consistently never happensunreviewed
label ourselves (no idea if this would matter)PR: Merged
label is addedDescribe the solution you'd like
I would like PR Triage to work correctly as it did a couple of weeks ago 🙃
Describe alternatives you've considered
We've attempted reinstalling the app numerous times, my best guess is that something changes about the way hooks work, and now PR Triage is only picking up the merge hook? I am curious if anyone else is experiencing this or it's something unique about our organization.
The text was updated successfully, but these errors were encountered: