Let’s say I have an action which runs a set of tests and lints on my codebase on push, but only for changes to JS files as below:
name: JS Unit Tests and lints on: push: paths: - '**.js'
How do we enforce that the tests should have passed without running the workflow on every push - other than not making use of the
Or is there another/better approach? I could also have the tests run on merge and block the merge there but that’s not a good feedback loop for a dev.