From: Henrik Gombos Date: Sun, 30 Jul 2023 13:31:56 +0000 (-0400) Subject: ci: do not run test container generation on forked repos by default X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=403f4e8e15da4fdc84f3d32a0f231eeb9b2e4ed0;p=thirdparty%2Fdracut.git ci: do not run test container generation on forked repos by default If CONTAINER Github variable set, reenable the github action schedule. --- 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: