mirror of
https://github.com/SerenityOS/serenity
synced 2024-10-15 12:23:15 +00:00
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"
This commit is contained in:
parent
683de841e5
commit
5bb00a75f5
2
.github/workflows/cmake.yml
vendored
2
.github/workflows/cmake.yml
vendored
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue