From 87fac80e5f8064ac6f3d49bfcfb6d28e204735c4 Mon Sep 17 00:00:00 2001 From: PJ Fanning Date: Sat, 26 Oct 2024 09:28:20 +0100 Subject: [PATCH] only run CI jobs on main fork --- .github/workflows/check-build-test.yml | 3 +++ .github/workflows/link-validator.yml | 1 + .github/workflows/nightly-builds.yaml | 1 + .github/workflows/nightly-pekko-1.0-builds.yaml | 1 + 4 files changed, 6 insertions(+) diff --git a/.github/workflows/check-build-test.yml b/.github/workflows/check-build-test.yml index 080235669..cb227121d 100644 --- a/.github/workflows/check-build-test.yml +++ b/.github/workflows/check-build-test.yml @@ -18,6 +18,7 @@ jobs: style-compile-mima: name: Compile, Code Style, Binary Compatibility runs-on: ubuntu-22.04 + if: github.repository == 'apache/pekko-connectors' env: JAVA_OPTS: -Xms2G -Xmx3G -Xss2M -XX:ReservedCodeCacheSize=256M -Dfile.encoding=UTF-8 @@ -49,6 +50,7 @@ jobs: documentation: name: ScalaDoc, Documentation with Paradox runs-on: ubuntu-22.04 + if: github.repository == 'apache/pekko-connectors' env: JAVA_OPTS: -Xms2G -Xmx3G -Xss2M -XX:ReservedCodeCacheSize=256M -Dfile.encoding=UTF-8 @@ -80,6 +82,7 @@ jobs: connectors: runs-on: ubuntu-22.04 + if: github.repository == 'apache/pekko-connectors' strategy: fail-fast: false diff --git a/.github/workflows/link-validator.yml b/.github/workflows/link-validator.yml index 078c4c348..30b9a4f89 100644 --- a/.github/workflows/link-validator.yml +++ b/.github/workflows/link-validator.yml @@ -8,6 +8,7 @@ on: jobs: validate-links: runs-on: ubuntu-22.04 + if: github.repository == 'apache/pekko-connectors' steps: - name: Checkout uses: actions/checkout@v4 diff --git a/.github/workflows/nightly-builds.yaml b/.github/workflows/nightly-builds.yaml index f1b875eb3..f60c46b3c 100644 --- a/.github/workflows/nightly-builds.yaml +++ b/.github/workflows/nightly-builds.yaml @@ -11,6 +11,7 @@ jobs: test-compile: name: Compile runs-on: ubuntu-22.04 + if: github.repository == 'apache/pekko-connectors' strategy: fail-fast: false matrix: diff --git a/.github/workflows/nightly-pekko-1.0-builds.yaml b/.github/workflows/nightly-pekko-1.0-builds.yaml index 7e12ba9be..57fb03e0e 100644 --- a/.github/workflows/nightly-pekko-1.0-builds.yaml +++ b/.github/workflows/nightly-pekko-1.0-builds.yaml @@ -16,6 +16,7 @@ jobs: test-compile: name: Compile runs-on: ubuntu-22.04 + if: github.repository == 'apache/pekko-connectors' strategy: fail-fast: false matrix: