summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYuri Sizov <11782833+YuriSizov@users.noreply.github.com>2023-08-02 18:25:16 +0200
committerGitHub <noreply@github.com>2023-08-02 18:25:16 +0200
commitdc05278b03851df00f4cf5e70d20764892cbe90f (patch)
treeed203fe2e496428c31854eb0a355b83c168ca6d0
parentdca12c2e54bc9a91c490479ec0db38e6f69d122b (diff)
parent4646762c810c830824095af049655258ddc832fa (diff)
downloadredot-engine-dc05278b03851df00f4cf5e70d20764892cbe90f.tar.gz
Merge pull request #79321 from akien-mga/ci-allow-skipping-gha-on-forks
CI: Allow skipping our GHA workflows with `DISABLE_GODOT_CI` variable
-rw-r--r--.github/workflows/runner.yml8
1 files changed, 8 insertions, 0 deletions
diff --git a/.github/workflows/runner.yml b/.github/workflows/runner.yml
index 8e1741e844..34b6af4307 100644
--- a/.github/workflows/runner.yml
+++ b/.github/workflows/runner.yml
@@ -9,37 +9,44 @@ jobs:
# First stage: Only static checks, fast and prevent expensive builds from running.
static-checks:
+ if: ${{ vars.DISABLE_GODOT_CI == '' }}
name: 📊 Static checks
uses: ./.github/workflows/static_checks.yml
# Second stage: Run all the builds and some of the tests.
android-build:
+ if: ${{ vars.DISABLE_GODOT_CI == '' }}
name: 🤖 Android
needs: static-checks
uses: ./.github/workflows/android_builds.yml
ios-build:
+ if: ${{ vars.DISABLE_GODOT_CI == '' }}
name: 🍏 iOS
needs: static-checks
uses: ./.github/workflows/ios_builds.yml
linux-build:
+ if: ${{ vars.DISABLE_GODOT_CI == '' }}
name: 🐧 Linux
needs: static-checks
uses: ./.github/workflows/linux_builds.yml
macos-build:
+ if: ${{ vars.DISABLE_GODOT_CI == '' }}
name: 🍎 macOS
needs: static-checks
uses: ./.github/workflows/macos_builds.yml
windows-build:
+ if: ${{ vars.DISABLE_GODOT_CI == '' }}
name: 🏁 Windows
needs: static-checks
uses: ./.github/workflows/windows_builds.yml
web-build:
+ if: ${{ vars.DISABLE_GODOT_CI == '' }}
name: 🌐 Web
needs: static-checks
uses: ./.github/workflows/web_builds.yml
@@ -49,6 +56,7 @@ jobs:
# Can be turned off for PRs that intentionally break compat with godot-cpp,
# until both the upstream PR and the matching godot-cpp changes are merged.
godot-cpp-test:
+ if: ${{ vars.DISABLE_GODOT_CI == '' }}
name: 🪲 Godot CPP
# This can be changed to depend on another platform, if we decide to use it for
# godot-cpp instead. Make sure to move the .github/actions/godot-api-dump step