github-push-action icon indicating copy to clipboard operation
github-push-action copied to clipboard

Pull request indefinitely pending issue

Open amin-nejad opened this issue 4 years ago • 2 comments
trafficstars

I have an action (triggered on all pushes) which runs a particular coverage tool and generates a badge which I have included in my README. I use this action after the coverage tool to commit the new badge (with the new percentage). I also have a number of other actions that are also triggered on pushes.

What's great is that github seems to be intelligent enough that pushing the new badge does not trigger these actions a second time. However, when I push to a branch that has a pull request already open, this new push of the badge is taken as the latest commit and results in multiple pending checks instead being shown indefinitely on the pull request instead of using the checks from the original commit. This basically means having to close and reopen the pull request. And generally being unable to push to branches with open PRs.

My question is whether there is any way of getting around this? It doesn't seem like other people have experienced the same problem. Thanks!

Screenshot from 2020-11-26 12-32-42 Screenshot from 2020-11-26 12-33-02

amin-nejad avatar Nov 26 '20 12:11 amin-nejad

Same issue here, can't figure out how to make it work. I tried to add skip-checks: true (see here) to the commit I'm creating on the branch, to no avail

adrienthiery avatar Jan 08 '21 12:01 adrienthiery

Same issue using a different action: https://github.com/mikeal/publish-to-github-action/issues/11

wighawag avatar Feb 23 '21 21:02 wighawag