From 5f6a3a193e91db2e2202008121079b45fecf6278 Mon Sep 17 00:00:00 2001 From: Andrea Peruffo Date: Thu, 26 Aug 2021 11:30:04 +0100 Subject: [PATCH] Run scheduled jobs only on main repo --- .github/workflows/nightly-builds.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/nightly-builds.yml b/.github/workflows/nightly-builds.yml index 374fc415d1..0a737d4f74 100644 --- a/.github/workflows/nightly-builds.yml +++ b/.github/workflows/nightly-builds.yml @@ -9,6 +9,7 @@ jobs: nightly-cluster-metrics-sigar: name: Akka Cluster Metrics Test with Sigar runs-on: ubuntu-20.04 + if: github.repository == ‘akka/akka’ steps: - name: Checkout @@ -62,6 +63,7 @@ jobs: jdk-nightly-tests: name: JDK ${{ matrix.jdkVersion }} / Scala ${{ matrix.scalaVersion }} runs-on: ubuntu-20.04 + if: github.repository == ‘akka/akka’ strategy: matrix: # No need to specify the full Scala version. Only the Scala binary version