We have a monorepo with a small example where we have
backend, and we have two separate workflows that run tests if the files match the path.
This works 95% of the time, but there are some really ugly edge cases.
- Commit broken code to frontend repo
- Commit working code to backend repo
The PR will be marked as passing, because the last commit only ran the backend workflow, but if merged, we will have a failing master due to the broken frontend code.
How can we deal with this in our codebase without running both the workflows all the time?