From f1a8a68e5d2efb1b2fa02ed87687bb71922badbd Mon Sep 17 00:00:00 2001 From: Dreeam <61569423+Dreeam-qwq@users.noreply.github.com> Date: Sat, 13 Dec 2025 15:53:02 -0500 Subject: [PATCH] Fix condition --- .github/workflows/auto-update.yml | 2 +- .github/workflows/build-1218.yml | 2 +- .github/workflows/build-pr.yml | 2 +- .github/workflows/publish-api.yml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) 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 }}