Closed DMRobertson closed 2 years ago
FWIW Synapse repo does something like this, while also not running the tests if the newsfile lint fails. Not entirely sure how, but its mentioned at https://github.com/matrix-org/synapse/blob/develop/.github/workflows/tests.yml#L51-L57
Looks like there's a distinction between a step failing and a step being skipped. It's the newsfile check being skipped on main
that I want to capture here. Will take Erik's advice and crib from Synapse.
I wonder if we can move those checks into the meta repo and re-use them? Not sure if that's possible though.
At present, if the newsfile step is skipped, then tests are also skipped. This happened on the
main
branch here: https://github.com/matrix-org/sydent/runs/5306840738?check_suite_focus=true