From 05c2497e404374eea1f5c12f5403641d12eca9c5 Mon Sep 17 00:00:00 2001 From: ff137 Date: Sat, 9 Nov 2024 10:16:09 +0200 Subject: [PATCH] construction_worker: Add repo owner check to each step of Nightly Publish Signed-off-by: ff137 --- .github/workflows/nightly.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index cee86d04d4..acc916cbe1 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -49,7 +49,7 @@ jobs: publish: name: Publish needs: [tests, setup_and_check_pub] - if: needs.setup_and_check_pub.outputs.commits_today > 0 + if: github.repository_owner == 'openwallet-foundation' && needs.setup_and_check_pub.outputs.commits_today > 0 uses: ./.github/workflows/publish.yml strategy: matrix: