ghprb-plugin
ghprb-plugin copied to clipboard
Cancel build on update is not setting the build commit status
I have setup a job and configured cancel-build-on-update for that job. When a new commit is pushed to the same PR, I can see that build is getting aborted but in PR its showing commit status as Pending.
I'm experiencing this as well. Wondering if anyone ever found a fix.
There are just 4 possible statuses in GitHub checks - error, failure, pending, or success. Aborted job is actually nothing of those. Maybe a good solution will be at least to replace "Pending — Build started" with "Pending - Build aborted".
More about GitHub statuses.