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
Notes:
sideshowbarker
2024-07-17 17:27:33 +09:00
Author: https://github.com/trflynn89 Commit: https://github.com/SerenityOS/serenity/commit/5bb00a75f5 Pull-request: https://github.com/SerenityOS/serenity/pull/13044
1 changed files with 1 additions and 1 deletions
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…
Add table
Reference in a new issue