Replace always() with success() || failure()
MSALReplace always() in GitHub Actions job and step conditions with success() || failure() so that canceled workflows do not continue running or hang until they time out. Note that teardown steps deliberately using always() to still run on cancellation will no longer run.
org. openrewrite. github. ReplaceAlwaysWithSuccessOrFailuremod run . --recipe= org. openrewrite. github. ReplaceAlwaysWithSuccessOrFailureInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.