diff --git a/.github/workflows/auto-update.yml b/.github/workflows/auto-update.yml index 2748a08a..137a4f6e 100644 --- a/.github/workflows/auto-update.yml +++ b/.github/workflows/auto-update.yml @@ -8,7 +8,7 @@ on: jobs: build: # Run workflow only on main repo - if: ${{ github.event.pull_request.head.repo.full_name != github.repository }} + if: ${{ github.repository == 'Winds-Studio/Leaf' }} runs-on: ubuntu-latest steps: - name: Checkout Leaf repository diff --git a/.github/workflows/build-1218.yml b/.github/workflows/build-1218.yml index 82a0363c..09dd2bf7 100644 --- a/.github/workflows/build-1218.yml +++ b/.github/workflows/build-1218.yml @@ -8,7 +8,7 @@ on: jobs: build: # Run workflow only on main repo - if: ${{ github.event.pull_request.head.repo.full_name != github.repository }} + if: ${{ github.repository == 'Winds-Studio/Leaf' }} runs-on: blacksmith-8vcpu-ubuntu-2204 env: BUILD_NUMBER: ${{ github.run_number }} diff --git a/.github/workflows/build-pr.yml b/.github/workflows/build-pr.yml index dbf6087d..1bd702e9 100644 --- a/.github/workflows/build-pr.yml +++ b/.github/workflows/build-pr.yml @@ -7,7 +7,7 @@ on: jobs: build: # Run workflow only on main repo - if: ${{ github.event.pull_request.head.repo.full_name != github.repository }} + if: ${{ github.repository == 'Winds-Studio/Leaf' }} runs-on: blacksmith-8vcpu-ubuntu-2204 env: GRAALVM_ARGS: "-Dgraal.CompilerConfiguration=enterprise -Dgraal.UsePriorityInlining=true -Dgraal.Vectorization=true -Dgraal.OptDuplication=true --add-modules jdk.incubator.vector" diff --git a/.github/workflows/publish-api.yml b/.github/workflows/publish-api.yml index 26018624..f8e0614b 100644 --- a/.github/workflows/publish-api.yml +++ b/.github/workflows/publish-api.yml @@ -7,7 +7,7 @@ on: jobs: build: # Run workflow only on main repo - if: ${{ github.event.pull_request.head.repo.full_name != github.repository }} + if: ${{ github.repository == 'Winds-Studio/Leaf' }} runs-on: ubuntu-latest env: BUILD_NUMBER: ${{ github.run_number }}