CI: Add statement to ensure workflow runs only on serenity

Ensure that the `cmake.yml` workflow runs only on SerenityOS repository.
This commit is contained in:
Rodolfo Olivieri 2022-02-07 22:21:01 -03:00 committed by Ali Mohammad Pur
parent 353e72ac9b
commit a05d25d4e5
Notes: sideshowbarker 2024-07-17 19:07:06 +09:00

View file

@ -15,6 +15,7 @@ concurrency:
jobs: jobs:
build_and_test_serenity: build_and_test_serenity:
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
if: always() && github.repository == 'SerenityOS/serenity'
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix: