Dealing with checks enforced by branch protection but skipped by path filter

We make use of some path filters like this to only run workflows when they are needed but this causes the problem where checks enforced by our branch protection rules are still marked as required by GitHub but since we don’t run them, the merge is blocked. Is there a workaround for this?

1 Like

Hi @msfjarvis , 

There was a workaround provided by another community to check file changes in scripts instead of using path filter

Please refer to the solutin in this ticket:  

https://github.community/t5/GitHub-Actions/Path-filtering-on-required-pull-request-checks/m-p/58228/highlight/true#M10460

1 Like