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:
Timothy Flynn 2022-03-14 09:40:14 -04:00 committed by Tim Flynn
parent 683de841e5
commit 5bb00a75f5

View file

@ -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: