Skip to content

prNotPendingHours not honoured #9118

Discussion options

You must be logged in to vote

Tracing the logic, it passes this line:

`Branch status is "${await getBranchStatus()}" - checking timeout`

And then:

`Branch is ${elapsedHours} hours old - skipping PR creation`

So either elapsedHours < config.prNotPendingHours (in which caseconfig.prNotPendingHours is >= 3 and not 1 as we think) or config.stabilityStatus !== BranchStatus.yellow.

I'm not sure why that is but have added a non-null check to config.stabilityStatus.

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
1 reply
@martinbonnin
Comment options

Comment options

You must be logged in to vote
3 replies
@martinbonnin
Comment options

@rarkins
Comment options

@martinbonnin
Comment options

Answer selected by martinbonnin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #9117 on March 13, 2021 15:40.