From 78cd6f073cd05addd29a360df86e6c10ecbf2e0e Mon Sep 17 00:00:00 2001 From: John Kristensen Date: Tue, 13 Jun 2023 17:44:52 +1000 Subject: [PATCH] Only run scheduled jobs on bitnami/minideb repo Most repository forks won't want to run builds on a schedule, so only run the scheduled builds on the main `bitnami/minideb` repo. Signed-off-by: John Kristensen --- .github/workflows/main.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 16d2f69e..a7fdcffd 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -23,6 +23,7 @@ jobs: shellcheck: # The type of runner that the job will run on runs-on: ubuntu-22.04 + if: github.event_name != 'schedule' || github.repository == 'bitnami/minideb' name: Shellcheck # Steps represent a sequence of tasks that will be executed as part of the job steps: