9
0
mirror of https://github.com/Winds-Studio/Leaf.git synced 2025-12-27 10:59:16 +00:00

Run workflows only on main repo

This commit is contained in:
Dreeam
2025-12-13 15:05:38 -05:00
parent f2682d84a6
commit 1deec3b1ab
4 changed files with 8 additions and 0 deletions

View File

@@ -7,6 +7,8 @@ on:
jobs:
build:
# Run workflow only on main repo
if: ${{ github.event.pull_request.head.repo.full_name != github.repository }}
runs-on: ubuntu-latest
steps:
- name: Checkout Leaf repository

View File

@@ -7,6 +7,8 @@ on:
jobs:
build:
# Run workflow only on main repo
if: ${{ github.event.pull_request.head.repo.full_name != github.repository }}
runs-on: blacksmith-8vcpu-ubuntu-2204
env:
BUILD_NUMBER: ${{ github.run_number }}

View File

@@ -6,6 +6,8 @@ on:
jobs:
build:
# Run workflow only on main repo
if: ${{ github.event.pull_request.head.repo.full_name != github.repository }}
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"

View File

@@ -6,6 +6,8 @@ on:
jobs:
build:
# Run workflow only on main repo
if: ${{ github.event.pull_request.head.repo.full_name != github.repository }}
runs-on: ubuntu-latest
env:
BUILD_NUMBER: ${{ github.run_number }}