From c1fa5d619081c203f1800d0da479d415c8687817 Mon Sep 17 00:00:00 2001 From: kkawula <57270771+kkawula@users.noreply.github.com> Date: Fri, 10 Jan 2025 23:55:12 +0100 Subject: [PATCH] Disable `Scheduled` workflow on forks --- .github/workflows/scheduled.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/scheduled.yml b/.github/workflows/scheduled.yml index 596c5d7449..68cab6cab8 100644 --- a/.github/workflows/scheduled.yml +++ b/.github/workflows/scheduled.yml @@ -11,6 +11,7 @@ on: jobs: get-scarb-versions: + if: "! github.event.repository.fork" name: Get Scarb versions outputs: versions: ${{ steps.get_versions.outputs.versions }} @@ -30,6 +31,7 @@ jobs: echo "versions=[${scarb_versions[@]}]" >> "$GITHUB_OUTPUT" test-forge-unit-and-integration: + if: "! github.event.repository.fork" runs-on: ubuntu-latest needs: get-scarb-versions strategy: @@ -50,6 +52,7 @@ jobs: - run: cargo test --release -p forge integration test-forge-e2e: + if: "! github.event.repository.fork" runs-on: ubuntu-latest needs: get-scarb-versions strategy: @@ -89,6 +92,7 @@ jobs: - run: cargo test --release -p forge e2e test-cast: + if: "! github.event.repository.fork" runs-on: ubuntu-latest needs: get-scarb-versions strategy: