|
|
|
|
|
by horse666
1369 days ago
|
|
There’s an awkward gotcha/incompatibility between “Required status checks” and workflows that get skipped [1], eg due to setting a “paths” property of a push/pull_request workflow trigger [2]. The checks associated with the workflow don’t run and stay in a pending state, preventing the PR from being merged. The only workaround I’m aware of is to use an action such as paths-filter [3] instead at the job level. A further, related frustration/limitation - you can _only_ set the “paths” property [2] at the workflow level (i.e. not per-job), so those rules apply to all jobs in the workflow. Given that you can only build a DAG of jobs (ie “needs”) within a single workflow, it makes it quite difficult to do anything non trivial in a monorepo. [1]: https://docs.github.com/en/repositories/configuring-branches... [2]: https://docs.github.com/en/actions/using-workflows/workflow-... [3]: https://github.com/dorny/paths-filter |
|