Help
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Ground Controller Lvl 1
Message 11 of 18

Re: Cancelled Github actions fails PR checks

Is there any update on how you resolved this? I have the same problem. I created multiple workflows (one for every branch etc, one only for master and one only for develop). But when one of the workflows cancels (like when I push to develop, the workflow for master cancels), I get this red cross. Is there any possibility to ignore that and show a green check?

Copilot Lvl 3
Message 12 of 18

Re: Cancelled Github actions fails PR checks

Didn't find a way how to fix this. So for now I have to live with it like this. We have not set checks as mandatory in the repo so we can merge even with faild checks, but it is still annoying.

GitHub Staff
Message 13 of 18

Re: Cancelled Github actions fails PR checks

That's currently the best workaround.

Pilot Lvl 1
Message 14 of 18

Re: Cancelled Github actions fails PR checks

Does it change if you push the Build-step one up? My thought was just that then the workflow would have at least one step that is green before filter cancels.

Copilot Lvl 3
Message 15 of 18

Re: Cancelled Github actions fails PR checks

This results in an overall failed check for me, too.

Ground Controller Lvl 1
Message 16 of 18

Re: Cancelled Github actions fails PR checks

Copilot Lvl 3
Message 17 of 18

Re: Cancelled Github actions fails PR checks

I did try different order of the actions in the flow but with no result. It always shows checks as failed. 

Copilot Lvl 3
Message 18 of 18

Re: Cancelled Github actions fails PR checks

I think I found the right spot. The filter hast to be a requirement for the resolving action.

 

Check my answer in this thread https://github.community/t5/GitHub-API-Development-and/Cancelled-Github-actions-fails-PR-checks/m-p/...