ci: skip licensed builds on dependabot runs (#866)

This commit is contained in:
Webber Takken
2026-11-15 20:31:26 +01:00
committed by GitHub
parent 20ed7180f9
commit 107e018f9d
2 changed files with 8 additions and 0 deletions
+4
View File
@@ -11,6 +11,10 @@ concurrency:
jobs: jobs:
buildForAllPlatformsMacOS: buildForAllPlatformsMacOS:
name: ${{ matrix.targetPlatform }} on ${{ matrix.unityVersion }} name: ${{ matrix.targetPlatform }} on ${{ matrix.unityVersion }}
# Dependabot-triggered runs receive no Actions secrets, so the Unity
# licence these builds need is absent. Ubuntu builds (embedded licence)
# and the Tests job still cover dependency bumps.
if: github.actor != 'dependabot[bot]'
runs-on: macos-latest runs-on: macos-latest
# Kept as a backstop even after splitting the cache save below into its # Kept as a backstop even after splitting the cache save below into its
# own bounded step: real builds finish in well under 40m, so this only # own bounded step: real builds finish in well under 40m, so this only
@@ -11,6 +11,10 @@ concurrency:
jobs: jobs:
buildForAllPlatformsWindows: buildForAllPlatformsWindows:
name: ${{ matrix.targetPlatform }} on ${{ matrix.unityVersion }} name: ${{ matrix.targetPlatform }} on ${{ matrix.unityVersion }}
# Dependabot-triggered runs receive no Actions secrets, so the Unity
# licence these builds need is absent. Ubuntu builds (embedded licence)
# and the Tests job still cover dependency bumps.
if: github.actor != 'dependabot[bot]'
runs-on: windows-2022 runs-on: windows-2022
# See build-tests-mac.yml's matching comment - a per-step timeout doesn't # See build-tests-mac.yml's matching comment - a per-step timeout doesn't
# bound an action's own implicit post-run cleanup step, only a job-level # bound an action's own implicit post-run cleanup step, only a job-level