Is it somehow possible to change the branch protection from status checks that are required to “required if run”?
I heavily make use of the
on: pull_request: paths:
for my different workflows for GitHub Actions. Thus, depending on what files were changed in the PR a different set of checks is run. I would mark most (if not all) of them as required before a PR is merged. Problem is, if I do that the PR also waits for checks that will not be run. Is it somehow possible to change this behavior so that a check is marked as required only if it is run?