From b20a99e1c9ffb7128f80aad19f7bc366ac6428d5 Mon Sep 17 00:00:00 2001 From: John Chase <68833933+joohhnnn@users.noreply.github.com> Date: Tue, 10 Feb 2026 22:36:20 +0800 Subject: [PATCH] ci: skip scheduled workflows on forks (#22022) --- .github/workflows/dependencies.yml | 1 + .github/workflows/docker.yml | 1 + .github/workflows/integration.yml | 2 +- .github/workflows/kurtosis.yml | 1 + .github/workflows/reproducible-build.yml | 1 + .github/workflows/stale.yml | 1 + .github/workflows/sync-era.yml | 1 + .github/workflows/sync.yml | 1 + 8 files changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/dependencies.yml b/.github/workflows/dependencies.yml index 6e2efede63..e87872c53d 100644 --- a/.github/workflows/dependencies.yml +++ b/.github/workflows/dependencies.yml @@ -15,6 +15,7 @@ permissions: jobs: update: + if: github.repository == 'paradigmxyz/reth' uses: tempoxyz/ci/.github/workflows/cargo-update-pr.yml@main secrets: token: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 46821eccf3..5433b2b99a 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -31,6 +31,7 @@ on: jobs: build: + if: github.repository == 'paradigmxyz/reth' name: Build Docker images runs-on: ubuntu-24.04 permissions: diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml index 786239221b..1ba1b9460e 100644 --- a/.github/workflows/integration.yml +++ b/.github/workflows/integration.yml @@ -64,7 +64,7 @@ jobs: era-files: name: era1 file integration tests once a day - if: github.event_name == 'schedule' + if: github.event_name == 'schedule' && github.repository == 'paradigmxyz/reth' runs-on: ubuntu-latest steps: - uses: actions/checkout@v6 diff --git a/.github/workflows/kurtosis.yml b/.github/workflows/kurtosis.yml index 2f3be2a5cf..665b098b59 100644 --- a/.github/workflows/kurtosis.yml +++ b/.github/workflows/kurtosis.yml @@ -20,6 +20,7 @@ concurrency: jobs: build-reth: + if: github.repository == 'paradigmxyz/reth' uses: ./.github/workflows/docker-test.yml with: hive_target: kurtosis diff --git a/.github/workflows/reproducible-build.yml b/.github/workflows/reproducible-build.yml index 5822697846..f43b9648d2 100644 --- a/.github/workflows/reproducible-build.yml +++ b/.github/workflows/reproducible-build.yml @@ -7,6 +7,7 @@ on: jobs: build: + if: github.repository == 'paradigmxyz/reth' name: build reproducible binaries runs-on: ${{ matrix.runner }} strategy: diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index 297339f53e..d5e693c8e8 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -9,6 +9,7 @@ on: jobs: close-issues: + if: github.repository == 'paradigmxyz/reth' runs-on: ubuntu-latest permissions: issues: write diff --git a/.github/workflows/sync-era.yml b/.github/workflows/sync-era.yml index 6d1ab60f0f..991a39b191 100644 --- a/.github/workflows/sync-era.yml +++ b/.github/workflows/sync-era.yml @@ -17,6 +17,7 @@ concurrency: jobs: sync: + if: github.repository == 'paradigmxyz/reth' name: sync (${{ matrix.chain.bin }}) runs-on: depot-ubuntu-latest env: diff --git a/.github/workflows/sync.yml b/.github/workflows/sync.yml index 92a5326fdf..f6296d6cda 100644 --- a/.github/workflows/sync.yml +++ b/.github/workflows/sync.yml @@ -17,6 +17,7 @@ concurrency: jobs: sync: + if: github.repository == 'paradigmxyz/reth' name: sync (${{ matrix.chain.bin }}) runs-on: depot-ubuntu-latest env: