fix: build pull request image only if source is in mealie repo

This commit is contained in:
Kuchenpirat 2025-04-08 18:44:31 +02:00 committed by GitHub
parent dc1ec4e69a
commit df4fd7ed7f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -47,7 +47,7 @@ jobs:
publish-image:
name: "Publish PR Image"
if: contains(github.event.pull_request.labels.*.name, 'build-image')
if: contains(github.event.pull_request.labels.*.name, 'build-image') && github.repository == 'mealie-recipes/mealie'
permissions:
contents: read
packages: write