diff options
author | Timothy Flynn <trflynn89@pm.me> | 2022-03-14 09:40:14 -0400 |
---|---|---|
committer | Tim Flynn <trflynn89@pm.me> | 2022-03-14 10:27:19 -0400 |
commit | 5bb00a75f5f910ded566216713922caa704ce512 (patch) | |
tree | 7d04a514c970d5fe3d9d9899d2c9aa037e9cf3f1 | |
parent | 683de841e5ad3257536e677f7b0249ab932e004c (diff) | |
download | serenity-5bb00a75f5f910ded566216713922caa704ce512.zip |
CI: Do not "always" run GitHub Actions workflows
This way, if a branch is force-pushed in an open PR, running workflows
can be canceled.
https://docs.github.com/en/actions/learn-github-actions/expressions#always
"Always - Causes the step to always execute, and returns true, even when
canceled"
-rw-r--r-- | .github/workflows/cmake.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index 930a3f7d5c..fd678f1332 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -15,7 +15,7 @@ concurrency: jobs: build_and_test_serenity: runs-on: ${{ matrix.os }} - if: always() && github.repository == 'SerenityOS/serenity' + if: github.repository == 'SerenityOS/serenity' strategy: fail-fast: false matrix: |