Hi everyone, looking to force PRs for any commit including a certain file path. Have been messing around with pre-hooks, but any condition I add also blocks PRs... Here is what I have right now:
if (pathsMatchExcludingDeletes('glob:something.yml')) {
return false
}
return true
Is there something I can add to this condition that ignores the commit if it's a PR?