Merge pull request #363 from JohnBaumb/fix/fork-workflow-guards
Skip Docker/publish workflows on forks
This commit is contained in:
commit
b4cc3e8975
3 changed files with 3 additions and 0 deletions
1
.github/workflows/cleanup-dev-images.yml
vendored
1
.github/workflows/cleanup-dev-images.yml
vendored
|
|
@ -8,6 +8,7 @@ on:
|
|||
|
||||
jobs:
|
||||
cleanup:
|
||||
if: github.repository == 'Nezreka/SoulSync'
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
packages: write
|
||||
|
|
|
|||
1
.github/workflows/dev-nightly.yml
vendored
1
.github/workflows/dev-nightly.yml
vendored
|
|
@ -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)
|
||||
|
|
|
|||
1
.github/workflows/docker-publish.yml
vendored
1
.github/workflows/docker-publish.yml
vendored
|
|
@ -15,6 +15,7 @@ on:
|
|||
|
||||
jobs:
|
||||
build-and-push:
|
||||
if: github.repository == 'Nezreka/SoulSync'
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
permissions:
|
||||
|
|
|
|||
Loading…
Reference in a new issue