From fe29b4734765e51b202eb4f986d6e3ea214b6834 Mon Sep 17 00:00:00 2001 From: Sietse Snel Date: Thu, 30 Nov 2023 17:07:08 +0100 Subject: [PATCH] YDA-5548: limit image builds to main repo Only build and push images when running on the main repo (not on forks) --- .github/workflows/build-push-image.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/build-push-image.yml b/.github/workflows/build-push-image.yml index a4e1fdb..b9c96ad 100644 --- a/.github/workflows/build-push-image.yml +++ b/.github/workflows/build-push-image.yml @@ -8,6 +8,7 @@ on: jobs: push-image: + if: github.repository == 'utrechtuniversity/yoda-external-user-service' runs-on: ubuntu-22.04 permissions: contents: read