-
Notifications
You must be signed in to change notification settings - Fork 116
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
fix: hanging cron pr #1261
fix: hanging cron pr #1261
Conversation
@@ -518,16 +518,9 @@ function handler(app: Application) { | |||
|
|||
//because we're searching for the PRs, and not getting the installation ID, we have to use | |||
//the bot's installation ID to call the API. So, we need to make sure it matches the repo owner | |||
if (context.payload.cron_org) { | |||
if (context.payload.pickUp === true) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is the pickUp
variable set in the cron? I love this design of using the search API, but don't love the variable name pickUp
.
When would pickUp
not be set?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I just made up a random variable name that we could add to the body. I just changed it to find_hanging_prs, and I was thinking of only setting it as true in that cron job!
No description provided.