summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorRodolfo Olivieri <rodolfo.olivieri3@gmail.com>2022-02-07 22:21:01 -0300
committerAli Mohammad Pur <Ali.mpfard@gmail.com>2022-02-09 11:27:06 +0330
commita05d25d4e5ae3f79c9cad3970cd0fbb06eb286e7 (patch)
treeb3cc02aca63de967f4dc708dd4f5274a32b31373 /.github/workflows
parent353e72ac9bc436f8d4635ed61211c34b623ab7ab (diff)
downloadserenity-a05d25d4e5ae3f79c9cad3970cd0fbb06eb286e7.zip
CI: Add statement to ensure workflow runs only on serenity
Ensure that the `cmake.yml` workflow runs only on SerenityOS repository.
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/cmake.yml1
1 files changed, 1 insertions, 0 deletions
diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml
index b96e3b0f89..8ed1c4555f 100644
--- a/.github/workflows/cmake.yml
+++ b/.github/workflows/cmake.yml
@@ -15,6 +15,7 @@ concurrency:
jobs:
build_and_test_serenity:
runs-on: ${{ matrix.os }}
+ if: always() && github.repository == 'SerenityOS/serenity'
strategy:
fail-fast: false
matrix: