The easy-to-use open source Business Intelligence and Embedded Analytics tool that lets everyone work with data :bar_chart:
TypeScript analyticsbibusiness-intelligencebusinessintelligenceclojuredashboarddatadata-analysisdata-visualizationdatabasemetabasemysqlpostgrespostgresqlreportingslacksql-editorvisualization
only run milestone workflows in metabase/metabase (#79767)
Chris Vandoodewaard7b8de67c1cf9
diff --git a/.github/workflows/release-milestone-check.yml b/.github/workflows/release-milestone-check.ymlindex aa5f512c1f2..1caba7a9137 100644--- a/.github/workflows/release-milestone-check.yml+++ b/.github/workflows/release-milestone-check.yml@@ -24,6 +24,8 @@ on:jobs:check-milestone:+ # Only run milestone check in https://github.com/metabase/metabase since this is the only place milestones are used.+ if: github.repository == 'metabase/metabase'runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}timeout-minutes: 10steps:diff --git a/.github/workflows/release-milestone-manage.yml b/.github/workflows/release-milestone-manage.ymlindex 0f5d354ae5f..6593bc63dd4 100644--- a/.github/workflows/release-milestone-manage.yml+++ b/.github/workflows/release-milestone-manage.yml@@ -25,6 +25,8 @@ permissions:jobs:manage-milestones:+ # Only run milestone management in https://github.com/metabase/metabase since this is the only place milestones are used.+ if: github.repository == 'metabase/metabase'runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}timeout-minutes: 15steps:diff --git a/.github/workflows/release-notes-preview.yml b/.github/workflows/release-notes-preview.ymlindex d471ec1d847..3c1f375a45d 100644--- a/.github/workflows/release-notes-preview.yml+++ b/.github/workflows/release-notes-preview.yml@@ -16,6 +16,9 @@ on:jobs:preview-release-notes:+ # Only generate release notes preview in https://github.com/metabase/metabase since this is the only place milestones are used which is+ # what we use to determine what issues/prs should be included in the release.+ if: github.repository == 'metabase/metabase'runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}timeout-minutes: 5steps:diff --git a/.github/workflows/release.yml b/.github/workflows/release.ymlindex 39ddf069927..6cdaa0aa6b1 100644--- a/.github/workflows/release.yml+++ b/.github/workflows/release.yml@@ -457,7 +457,8 @@ jobs:});draft-release-notes:- if: ${{ needs.check-version.outputs.kind == 'minor' || needs.check-version.outputs.kind == 'major' }}+ # Only create release notes if this release happens in https://github.com/metabase/metabase.+ if: ${{ github.repository == 'metabase/metabase' && (needs.check-version.outputs.kind == 'minor' || needs.check-version.outputs.kind == 'major') }}needs: [add-extra-tags, check-version]runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}timeout-minutes: 15diff --git a/.github/workflows/tag-for-release.yml b/.github/workflows/tag-for-release.ymlindex 1afd532eee8..f21a3b4e4b6 100644--- a/.github/workflows/tag-for-release.yml+++ b/.github/workflows/tag-for-release.yml@@ -148,6 +148,8 @@ jobs:trigger-milestone-check:# Posts a Slack FYI about issues that still need review for this release.# Informational only — nothing depends on it, so it never blocks the release.+ #+ # NOTE: this workflow only runs in https://github.com/metabase/metabase.needs: [check-version, check-commit]permissions:contents: read@@ -166,6 +168,8 @@ jobs:# Sequenced after trigger-milestone-check so that the check sees the milestone# in its open state. milestone-check is informational and must never block, so# we run regardless of its outcome; only preflight failures suppress this.+ #+ # NOTE: this workflow only runs in https://github.com/metabase/metabase.needs: [check-version, check-commit, trigger-milestone-check]if: ${{ !cancelled() && needs.check-version.result == 'success' && needs.check-commit.result == 'success' }}permissions: