From 403f4e8e15da4fdc84f3d32a0f231eeb9b2e4ed0 Mon Sep 17 00:00:00 2001 From: Henrik Gombos Date: Sun, 30 Jul 2023 09:31:56 -0400 Subject: [PATCH] ci: do not run test container generation on forked repos by default If CONTAINER Github variable set, reenable the github action schedule. --- .github/workflows/container.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/container.yml b/.github/workflows/container.yml index 9379ae1c2..dcb99affb 100644 --- a/.github/workflows/container.yml +++ b/.github/workflows/container.yml @@ -19,6 +19,7 @@ permissions: jobs: push_to_registry: + if: github.repository == 'dracutdevs/dracut' || vars.CONTAINER == 'enabled' name: Build and push containers image to GitHub Packages runs-on: ubuntu-latest concurrency: -- 2.47.2