Skip to content

Commit

Permalink
Disable Scheduled workflow on forks
Browse files Browse the repository at this point in the history
  • Loading branch information
kkawula committed Jan 10, 2025
1 parent 7ebb054 commit c1fa5d6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/scheduled.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand All @@ -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:
Expand All @@ -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:
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit c1fa5d6

Please sign in to comment.