diff --git a/.github/workflows/backend-cloverage.yml b/.github/workflows/backend-cloverage.yml index a1de24d721eaf55796b33d042ac0e8fa95067d38..5ef43cad3c3767c5f2845b9ac4f174aa7482f3e2 100644 --- a/.github/workflows/backend-cloverage.yml +++ b/.github/workflows/backend-cloverage.yml @@ -7,6 +7,8 @@ on: jobs: be-linter-cloverage: + # don't run this workflow on a cron for forks + if: ${{ github.event_name != 'schedule' || github.repository == 'metabase/metabase' }} runs-on: ubuntu-22.04 timeout-minutes: 90 steps: diff --git a/.github/workflows/e2e-cross-version.yml b/.github/workflows/e2e-cross-version.yml index 51a927aeb42b58b363e6d07d6e6c44a63d26d88a..eb8a07c0b08c338cacc54ee0896b6a8c5336e007 100644 --- a/.github/workflows/e2e-cross-version.yml +++ b/.github/workflows/e2e-cross-version.yml @@ -9,6 +9,8 @@ on: jobs: files-changed: name: Check which files changed + # don't run this workflow on a cron for forks + if: ${{ github.event_name != 'schedule' || github.repository == 'metabase/metabase' }} runs-on: ubuntu-22.04 timeout-minutes: 3 outputs: diff --git a/.github/workflows/flake-issue-creator.yml b/.github/workflows/flake-issue-creator.yml index 75cc990ec5766db713ca0d59b838c22c95d2bf2d..d3faf9780f6e192dc99dab78a92dcddac149fe52 100644 --- a/.github/workflows/flake-issue-creator.yml +++ b/.github/workflows/flake-issue-creator.yml @@ -7,6 +7,8 @@ on: jobs: flake-issue-creator: + # don't run this workflow on a cron for forks + if: ${{ github.event_name != 'schedule' || github.repository == 'metabase/metabase' }} runs-on: ubuntu-22.04 timeout-minutes: 10 steps: diff --git a/.github/workflows/flake-status.yml b/.github/workflows/flake-status.yml index 50e6c5d1e81341630b0085628039462de68ef5ed..d06f7ed7ac5608ada1861f605555e975212cd5f2 100644 --- a/.github/workflows/flake-status.yml +++ b/.github/workflows/flake-status.yml @@ -7,6 +7,8 @@ on: jobs: flake-status-report: + # don't run this workflow on a cron for forks + if: ${{ github.event_name != 'schedule' || github.repository == 'metabase/metabase' }} runs-on: ubuntu-22.04 timeout-minutes: 10 steps: diff --git a/.github/workflows/release-log.yml b/.github/workflows/release-log.yml index 817a3ee8bfb26b6f3210411bd148cba99139fee6..0b421f30035ee75e8ae78381a95058d40eebb78b 100644 --- a/.github/workflows/release-log.yml +++ b/.github/workflows/release-log.yml @@ -21,6 +21,8 @@ jobs: update-release-log: runs-on: ubuntu-latest timeout-minutes: 5 + # don't run this workflow on a cron for forks + if: ${{ github.event_name != 'schedule' || github.repository == 'metabase/metabase' }} env: VERSION: ${{ (github.event_name == 'workflow_dispatch' || github.event_name == 'workflow_call') && inputs.version || vars.CURRENT_VERSION }} diff --git a/.github/workflows/release-patch.yml b/.github/workflows/release-patch.yml index c35ab7568331c056c0b537979be74aae4f4b8474..7891ca91f6ef126ee2d513abc6972b5e45eb2122 100644 --- a/.github/workflows/release-patch.yml +++ b/.github/workflows/release-patch.yml @@ -13,6 +13,8 @@ on: jobs: auto-patch-trigger: + # don't run this workflow on a cron for forks + if: ${{ github.event_name != 'schedule' || github.repository == 'metabase/metabase' }} runs-on: ubuntu-22.04 timeout-minutes: 5 steps: diff --git a/.github/workflows/release-status.yml b/.github/workflows/release-status.yml index 5bf350b1a1bfa26ced95328ca1f0bb81c985399b..f073c4b589b53bb8219b70db01a7512646fc2d8a 100644 --- a/.github/workflows/release-status.yml +++ b/.github/workflows/release-status.yml @@ -7,6 +7,8 @@ on: jobs: check-release-status: + # don't run this workflow on a cron for forks + if: ${{ github.event_name != 'schedule' || github.repository == 'metabase/metabase' }} runs-on: ubuntu-22.04 timeout-minutes: 10 steps: diff --git a/.github/workflows/snyk.yml b/.github/workflows/snyk.yml index 5bc409aae94f5a3f0b4adb3650f26cb6716a0942..aa84393ea5d61d2aeb188a245376772824eac2b4 100644 --- a/.github/workflows/snyk.yml +++ b/.github/workflows/snyk.yml @@ -16,6 +16,8 @@ on: jobs: monitor: + # don't run this workflow on a cron for forks + if: ${{ github.event_name != 'schedule' || github.repository == 'metabase/metabase' }} name: Generate Snyk report runs-on: ubuntu-22.04 steps: diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index b73a151e482803d6690542e8c8c551e0541f7969..6a2c4a3d6b688cdff110c01856a5cdcaf12ae09e 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -8,6 +8,8 @@ permissions: jobs: close-stale-prs: + # don't run this workflow on a cron for forks + if: ${{ github.event_name != 'schedule' || github.repository == 'metabase/metabase' }} runs-on: ubuntu-22.04 steps: - uses: actions/stale@v6