Blocking PR Merges on Test Run Failures
One strategy to maintain quality in a trunk branch is to block the merge of any Pull Requests that fail to pass their tests. Internally at Testery, we follow this practice to ensure that our mainline is deployable at all times. When pushing a PR commit on its master branch or main branch, testery will check for if has failed test run when running it.
With Testery's Github Actions Integration, you can block PR merges based on test runs on Testery.
Check out the following video for a full demonstration.