Merge pull request #30578 from andreaTP/conditional-scheduled

Run scheduled jobs only on main repo
This commit is contained in:
Marcos Pereira 2021-08-26 10:45:52 -04:00 committed by GitHub
commit 8479b297aa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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
@ -63,6 +64,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