Merge pull request #363 from JohnBaumb/fix/fork-workflow-guards

Skip Docker/publish workflows on forks
This commit is contained in:
BoulderBadgeDad 2026-04-23 10:23:54 -07:00 committed by GitHub
commit b4cc3e8975
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 3 additions and 0 deletions

View file

@ -8,6 +8,7 @@ on:
jobs:
cleanup:
if: github.repository == 'Nezreka/SoulSync'
runs-on: ubuntu-latest
permissions:
packages: write

View file

@ -13,6 +13,7 @@ on:
jobs:
nightly:
if: github.repository == 'Nezreka/SoulSync'
runs-on: ubuntu-latest
# Skip scheduled runs if dev branch has no new commits in the last 24h
# (pushes and manual triggers always run)

View file

@ -15,6 +15,7 @@ on:
jobs:
build-and-push:
if: github.repository == 'Nezreka/SoulSync'
runs-on: ubuntu-latest
permissions: