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
Upgrade various GitHub actions (#74850)
Nemanja Glumacaa84834af4f3
diff --git a/.github/actions/upload-test-results/action.yml b/.github/actions/upload-test-results/action.ymlindex 56217c1b430..19a7ec6d1b1 100644--- a/.github/actions/upload-test-results/action.yml+++ b/.github/actions/upload-test-results/action.yml@@ -51,7 +51,7 @@ runs:# 1. This step must always run because it controls job's exit code.# 2. There's no point in running this outside the organizationif: always() && github.repository_owner == 'metabase'- uses: trunk-io/analytics-uploader@main+ uses: trunk-io/analytics-uploader@1198efcc0976501147b10a7e343c3fa069527526 # v2.0.9env:TRUNK_REPO_URL: [email protected]:metabase/metabase.gitwith:diff --git a/.github/workflows/backend-cloverage.yml b/.github/workflows/backend-cloverage.ymlindex 9858c51c3b2..c8e6026eefa 100644--- a/.github/workflows/backend-cloverage.yml+++ b/.github/workflows/backend-cloverage.yml@@ -57,7 +57,7 @@ jobs:- name: Upload coverage to codecov.ioif: always()- uses: codecov/codecov-action@1af58845a975a7985b0beb0cbe6fbbb71a41dbad # v5+ uses: codecov/codecov-action@e79a6962e0d4c0c17b229090214935d2e33f8354 # v6.0.1with:token: ${{ secrets.CODECOV_TOKEN }}files: ./target/coverage/codecov.json@@ -104,7 +104,7 @@ jobs:- name: Upload coverage to codecov.ioif: always()- uses: codecov/codecov-action@1af58845a975a7985b0beb0cbe6fbbb71a41dbad # v5+ uses: codecov/codecov-action@e79a6962e0d4c0c17b229090214935d2e33f8354 # v6.0.1with:token: ${{ secrets.CODECOV_TOKEN }}files: ./target/coverage/codecov.jsondiff --git a/.github/workflows/chromatic.yml b/.github/workflows/chromatic.ymlindex f6c722b3bbe..7caada988c1 100644--- a/.github/workflows/chromatic.yml+++ b/.github/workflows/chromatic.yml@@ -43,7 +43,7 @@ jobs:- name: Compile CLJSrun: NODE_ENV=development bun run build-pure:cljs- name: Publish to Chromatic- uses: chromaui/action@c03d144dc72e609acbb960489fdd1e1a4a23b34f # v10.2.0+ uses: chromaui/action@0b8c883861c1663076150cf1f4592b19d1ff6a54 # v17.0.1env:PUBLISH_CHROMATIC: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}STORYBOOK_BUILD_TIMEOUT: 900000diff --git a/.github/workflows/codespell.yml b/.github/workflows/codespell.ymlindex 3044c7dc24d..3ba1ab66823 100644--- a/.github/workflows/codespell.yml+++ b/.github/workflows/codespell.yml@@ -68,7 +68,7 @@ jobs:- name: Fix spelling errors with Claude Codeif: steps.codespell_check.outcome == 'failure'- uses: anthropics/claude-code-action@3ac52d0da9f8ec9ca7b4dc23bb477e36ef9c77a9 # v1+ uses: anthropics/claude-code-action@787c5a0ce96a9a6cfb050ea0c8f4c05f2447c251 # v1.0.133with:anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}github_token: ${{ steps.claude-app-token.outputs.token }}diff --git a/.github/workflows/containerize-uberjar.yml b/.github/workflows/containerize-uberjar.ymlindex 2d587a15f36..79046d4505d 100644--- a/.github/workflows/containerize-uberjar.yml+++ b/.github/workflows/containerize-uberjar.yml@@ -76,7 +76,7 @@ jobs:with:ref: ${{ github.event.inputs.commit || github.event.pull_request.head.sha || github.sha }}- name: Run Trivy vulnerability scanner- uses: aquasecurity/trivy-action@57a97c7e7821a5776cebc9bb87c984fa69cba8f1+ uses: aquasecurity/trivy-action@ed142fd0673e97e23eac54620cfb913e5ce36c25 # v0.36.0env:TRIVY_OFFLINE_SCAN: truerepo: ${{ fromJson(needs.get-container-info.outputs[matrix.edition]).repo }}@@ -106,7 +106,7 @@ jobs:edition: ee- name: Post PR comment- uses: marocchino/sticky-pull-request-comment@773744901bac0e8cbb5a0dc842800d45e9b2b405 # v2+ uses: marocchino/sticky-pull-request-comment@0ea0beb66eb9baf113663a64ec522f60e49231c0 # v3.0.4with:header: docker-build-statusmessage: |diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.ymlindex 12d5a6c2b6b..6217c835027 100644--- a/.github/workflows/coverage.yml+++ b/.github/workflows/coverage.yml@@ -23,7 +23,7 @@ jobs:--coverage \--testTimeout=60000- name: Upload coverage to codecov.io- uses: codecov/codecov-action@1af58845a975a7985b0beb0cbe6fbbb71a41dbad # v5+ uses: codecov/codecov-action@e79a6962e0d4c0c17b229090214935d2e33f8354 # v6.0.1with:files: ./coverage/lcov.infoflags: front-enddiff --git a/.github/workflows/docs-links.yml b/.github/workflows/docs-links.ymlindex e9287fa5f38..322f2811927 100644--- a/.github/workflows/docs-links.yml+++ b/.github/workflows/docs-links.yml@@ -27,7 +27,7 @@ jobs:- name: Run link checkerid: link-check- uses: lycheeverse/lychee-action@f613c4a64e50d792e0b31ec34bbcbba12263c6a6 # v2.3.0+ uses: lycheeverse/lychee-action@8646ba30535128ac92d33dfc9133794bfdd9b411 # v2.8.0with:fail: trueargs: docs --config ./.lychee/config.toml --offlinediff --git a/.github/workflows/drivers.yml b/.github/workflows/drivers.ymlindex 5424ad3bca5..501b96243cd 100644--- a/.github/workflows/drivers.yml+++ b/.github/workflows/drivers.yml@@ -259,7 +259,7 @@ jobs:run: |sudo echo "127.0.0.1 server.clickhouseconnect.test" | sudo tee -a /etc/hosts- name: Start ClickHouse in Docker- uses: hoverkraft-tech/compose-action@802a148945af6399a338c7906c267331b39a71af # v2.0.0+ uses: hoverkraft-tech/compose-action@d2bee4f07e8ca410d6b196d00f90c12e7d48c33a # v2.6.0with:compose-file: "modules/drivers/clickhouse/docker-compose.yml"down-flags: "--volumes"diff --git a/.github/workflows/escalation-slack-notification.yml b/.github/workflows/escalation-slack-notification.ymlindex 75ddb6a909a..802db098710 100644--- a/.github/workflows/escalation-slack-notification.yml+++ b/.github/workflows/escalation-slack-notification.yml@@ -18,8 +18,10 @@ jobs:core.setOutput('issue_title', ${{ toJson(github.event.issue.title) }}.replaceAll(/"/g, '\\"'));- name: Send escalated issue ${{ github.event.issue.number }} to Slackid: slack- uses: slackapi/slack-github-action@007b2c3c751a190b6f0f040e47ed024deaa72844 # v1.23.0+ uses: slackapi/slack-github-action@45a88b9581bfab2566dc881e2cd66d334e621e2c # v3.0.3with:+ webhook: ${{ secrets.SLACK_ESCALATIONS_WEBHOOK_URL }}+ webhook-type: incoming-webhookpayload: |{"blocks": [@@ -32,6 +34,3 @@ jobs:}]}- env:- SLACK_WEBHOOK_URL: ${{ secrets.SLACK_ESCALATIONS_WEBHOOK_URL }}- SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOKdiff --git a/.github/workflows/main.yml b/.github/workflows/main.ymlindex d6a987a918c..2b9f25b76ca 100644--- a/.github/workflows/main.yml+++ b/.github/workflows/main.yml@@ -19,8 +19,10 @@ jobs:core.setOutput('issue_title', ${{ toJson(github.event.issue.title) }}.replaceAll(/"/g, '\\"'));- name: Send the issue ${{ github.event.issue.number }} to Slackid: slack- uses: slackapi/slack-github-action@70cd7be8e40a46e8b0eced40b0de447bdb42f68e # v1.26.0+ uses: slackapi/slack-github-action@45a88b9581bfab2566dc881e2cd66d334e621e2c # v3.0.3with:+ webhook: ${{ secrets.SLACK_FEATURE_REQUEST_TRIAGE_WEBHOOK_URL }}+ webhook-type: incoming-webhookpayload: |{"blocks": [@@ -33,6 +35,3 @@ jobs:}]}- env:- SLACK_WEBHOOK_URL: ${{ secrets.SLACK_FEATURE_REQUEST_TRIAGE_WEBHOOK_URL }}- SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOKdiff --git a/.github/workflows/optimize-images.yml b/.github/workflows/optimize-images.ymlindex 12316307e44..cf6ec6a6b71 100644--- a/.github/workflows/optimize-images.yml+++ b/.github/workflows/optimize-images.yml@@ -23,7 +23,7 @@ jobs:- name: Get changed PNG filesid: changed-files- uses: tj-actions/changed-files@ed68ef82c095e0d48ec87eccea555d944a631a4c # v46+ uses: tj-actions/changed-files@9426d40962ed5378910ee2e21d5f8c6fcbf2dd96 # v47.0.6with:files: |docs/**/*.pngdiff --git a/.github/workflows/perf-test.yml b/.github/workflows/perf-test.ymlindex ea554191781..17cceccd9b2 100644--- a/.github/workflows/perf-test.yml+++ b/.github/workflows/perf-test.yml@@ -56,7 +56,7 @@ jobs:- name: Checkout source codeuses: actions/checkout@v6- name: Tailscale- uses: tailscale/github-action@4e4c49acaa9818630ce0bd7a564372c17e33fb4d # v2+ uses: tailscale/github-action@306e68a486fd2350f2bfc3b19fcd143891a4a2d8 # v4.1.2with:oauth-client-id: ${{ secrets.PR_ENV_TAILSCALE_OAUTH_CLIENT_ID }}oauth-secret: ${{ secrets.PR_ENV_TAILSCALE_OAUTH_SECRET }}@@ -74,7 +74,7 @@ jobs:env:PR_ENV_K8S_AUDIENCE: ${{ secrets.PR_ENV_K8S_AUDIENCE }}- name: Setup Kube Context- uses: azure/k8s-set-context@0b53301dcc7ddd3f6d35f97fb67228ac4e5ab2fd # v2+ uses: azure/k8s-set-context@89b837d75b40a7bd2ddafde837473c212db8b313 # v5.0.0with:method: kubeconfigkubeconfig: |@@ -110,7 +110,7 @@ jobs:id: splitrun: echo "fragment=${SHA:5}" >> $GITHUB_OUTPUT- name: Render Deployment YAML- uses: nowactions/envsubst@c4b8e3977354d294659a7ec164279ce8fba5c2e1 # v1+ uses: nowactions/envsubst@c4b8e3977354d294659a7ec164279ce8fba5c2e1 # v1.0.1with:input: ./perf-test-pr.yml.tmploutput: ./perf-test-pr.ymldiff --git a/.github/workflows/pr-env-destroy.yml b/.github/workflows/pr-env-destroy.ymlindex 3bd98188fa0..e3175aab155 100644--- a/.github/workflows/pr-env-destroy.yml+++ b/.github/workflows/pr-env-destroy.yml@@ -28,7 +28,7 @@ jobs:- name: Checkout source codeuses: actions/checkout@v6- name: Tailscale- uses: tailscale/github-action@4e4c49acaa9818630ce0bd7a564372c17e33fb4d # v2+ uses: tailscale/github-action@306e68a486fd2350f2bfc3b19fcd143891a4a2d8 # v4.1.2with:oauth-client-id: ${{ secrets.PR_ENV_TAILSCALE_OAUTH_CLIENT_ID }}oauth-secret: ${{ secrets.PR_ENV_TAILSCALE_OAUTH_SECRET }}@@ -46,7 +46,7 @@ jobs:env:PR_ENV_K8S_AUDIENCE: ${{ secrets.PR_ENV_K8S_AUDIENCE }}- name: Setup Kube Context- uses: azure/k8s-set-context@0b53301dcc7ddd3f6d35f97fb67228ac4e5ab2fd # v2+ uses: azure/k8s-set-context@89b837d75b40a7bd2ddafde837473c212db8b313 # v5.0.0with:method: kubeconfigkubeconfig: |@@ -75,7 +75,7 @@ jobs:kubectl delete ns hosting-pr${{ env.PR_NUMBER }}- name: Setup Helmif: ${{ inputs.self_hosting }}- uses: azure/setup-helm@1a275c3b69536ee54be43f2070a358922e12c8d4 # v4+ uses: azure/setup-helm@dda3372f752e03dde6b3237bc9431cdc2f7a02a2 # v5.0.0with:version: 'latest'- name: Destroy PR Review ENV (self-hosting)diff --git a/.github/workflows/pr-env.yml b/.github/workflows/pr-env.ymlindex a254a21e977..479bf2b1527 100644--- a/.github/workflows/pr-env.yml+++ b/.github/workflows/pr-env.yml@@ -67,7 +67,7 @@ jobs:- name: Checkout source codeuses: actions/checkout@v6- name: Tailscale- uses: tailscale/github-action@4e4c49acaa9818630ce0bd7a564372c17e33fb4d # v2+ uses: tailscale/github-action@306e68a486fd2350f2bfc3b19fcd143891a4a2d8 # v4.1.2with:oauth-client-id: ${{ secrets.PR_ENV_TAILSCALE_OAUTH_CLIENT_ID }}oauth-secret: ${{ secrets.PR_ENV_TAILSCALE_OAUTH_SECRET }}@@ -85,7 +85,7 @@ jobs:env:PR_ENV_K8S_AUDIENCE: ${{ secrets.PR_ENV_K8S_AUDIENCE }}- name: Setup Kube Context- uses: azure/k8s-set-context@0b53301dcc7ddd3f6d35f97fb67228ac4e5ab2fd # v2+ uses: azure/k8s-set-context@89b837d75b40a7bd2ddafde837473c212db8b313 # v5.0.0with:method: kubeconfigkubeconfig: |@@ -136,7 +136,7 @@ jobs:run: aws s3 cp s3://metabase-pr-env/metabase.yml.tmpl ./metabase.yml.tmpl- name: Render Deployment YAMLif: ${{ !inputs.self_hosting }}- uses: nowactions/envsubst@c4b8e3977354d294659a7ec164279ce8fba5c2e1 # v1+ uses: nowactions/envsubst@c4b8e3977354d294659a7ec164279ce8fba5c2e1 # v1.0.1with:input: ./metabase.yml.tmploutput: ./metabase.yml@@ -155,7 +155,7 @@ jobs:run: aws s3 cp s3://metabase-pr-env/values.yaml.tmpl ./values.yaml.tmpl- name: Render Helm values (self-hosting)if: ${{ inputs.self_hosting }}- uses: nowactions/envsubst@c4b8e3977354d294659a7ec164279ce8fba5c2e1 # v1+ uses: nowactions/envsubst@c4b8e3977354d294659a7ec164279ce8fba5c2e1 # v1.0.1with:input: ./values.yaml.tmploutput: ./values.yaml@@ -175,7 +175,7 @@ jobs:- name: Setup Helmif: ${{ inputs.self_hosting }}- uses: azure/setup-helm@1a275c3b69536ee54be43f2070a358922e12c8d4 # v4+ uses: azure/setup-helm@dda3372f752e03dde6b3237bc9431cdc2f7a02a2 # v5.0.0with:version: "latest"- name: Login to Quay.io@@ -201,7 +201,7 @@ jobs:runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}needs: [deploy_pr]steps:- - uses: marocchino/sticky-pull-request-comment@773744901bac0e8cbb5a0dc842800d45e9b2b405 # v2+ - uses: marocchino/sticky-pull-request-comment@0ea0beb66eb9baf113663a64ec522f60e49231c0 # v3.0.4with:recreate: truemessage: |diff --git a/.github/workflows/repro-bot.yml b/.github/workflows/repro-bot.ymlindex 1935f065221..ec03d49f75f 100644--- a/.github/workflows/repro-bot.yml+++ b/.github/workflows/repro-bot.yml@@ -130,7 +130,7 @@ jobs:- name: Run repro-bot with Claude Codeid: claudecontinue-on-error: true- uses: anthropics/claude-code-action@3ac52d0da9f8ec9ca7b4dc23bb477e36ef9c77a9 # v1+ uses: anthropics/claude-code-action@787c5a0ce96a9a6cfb050ea0c8f4c05f2447c251 # v1.0.133env:CLAUDE_CODE_DEBUG_LOGS_DIR: /tmp/claude-debug-logsCLAUDE_WORKING_DIR: ${{ github.workspace }}/repro-botdiff --git a/.github/workflows/resolve-backport-conflicts.yml b/.github/workflows/resolve-backport-conflicts.ymlindex 3d33c72ad36..fae5adfce62 100644--- a/.github/workflows/resolve-backport-conflicts.yml+++ b/.github/workflows/resolve-backport-conflicts.yml@@ -129,7 +129,7 @@ jobs:- name: Resolve conflicts with Claudeif: steps.backport.outputs.has_conflicts == 'true'id: claude- uses: anthropics/claude-code-base-action@beta+ uses: anthropics/claude-code-base-action@e8132bc5e637a42c27763fc757faa37e1ee43b34 # v0.0.63env:NODE_VERSION: "22"with:diff --git a/.github/workflows/security-slack-notification.yml b/.github/workflows/security-slack-notification.ymlindex 3b0c4470a32..25332cf5323 100644--- a/.github/workflows/security-slack-notification.yml+++ b/.github/workflows/security-slack-notification.yml@@ -19,8 +19,10 @@ jobs:core.setOutput('issue_title', ${{ toJson(github.event.issue.title) }}.replaceAll(/"/g, '\\"'));- name: Send the issue ${{ github.event.issue.number }} to Slackid: slack- uses: slackapi/slack-github-action@70cd7be8e40a46e8b0eced40b0de447bdb42f68e # v1.26.0+ uses: slackapi/slack-github-action@45a88b9581bfab2566dc881e2cd66d334e621e2c # v3.0.3with:+ webhook: ${{ secrets.SLACK_SECURITY_WEBHOOK_URL }}+ webhook-type: incoming-webhookpayload: |{"blocks": [@@ -33,6 +35,3 @@ jobs:}]}- env:- SLACK_WEBHOOK_URL: ${{ secrets.SLACK_SECURITY_WEBHOOK_URL }}- SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOKdiff --git a/.github/workflows/snyk.yml b/.github/workflows/snyk.ymlindex bb6903408f6..50f830c3c1a 100644--- a/.github/workflows/snyk.yml+++ b/.github/workflows/snyk.yml@@ -71,7 +71,7 @@ jobs:bun install --yarnsed -i -E 's/< ([0-9]+)\.0\.0"/< \1"/g; s/< ([0-9]+)\.0"/< \1"/g' yarn.lock || trueworking-directory: release- - uses: snyk/actions/setup@b98d498629f1c368650224d6d212bf7dfa89e4bf # 0.4.0+ - uses: snyk/actions/setup@9adf32b1121593767fc3c057af55b55db032dc04 # v1.0.0- name: Run snyk testenv:SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}@@ -148,7 +148,7 @@ jobs:category: driver-verticasteps:- uses: actions/checkout@v6- - uses: snyk/actions/setup@b98d498629f1c368650224d6d212bf7dfa89e4bf # 0.4.0+ - uses: snyk/actions/setup@9adf32b1121593767fc3c057af55b55db032dc04 # v1.0.0- name: Download pom filesuses: actions/download-artifact@v8with:diff --git a/.github/workflows/team-issues-slack-notification.yml b/.github/workflows/team-issues-slack-notification.ymlindex 7176849622e..7ad752eed34 100644--- a/.github/workflows/team-issues-slack-notification.yml+++ b/.github/workflows/team-issues-slack-notification.yml@@ -30,8 +30,10 @@ jobs:echo "team_name=${team_name^^}_SLACK_ISSUES_WEBHOOK_URL" >> "$GITHUB_OUTPUT"- name: Send the issue ${{ github.event.issue.number }} to Slackid: slack- uses: slackapi/slack-github-action@007b2c3c751a190b6f0f040e47ed024deaa72844 # v1.23.0+ uses: slackapi/slack-github-action@45a88b9581bfab2566dc881e2cd66d334e621e2c # v3.0.3with:+ webhook: ${{ secrets[steps.team_name.outputs.team_name] }}+ webhook-type: incoming-webhookpayload: |{"blocks": [@@ -44,6 +46,3 @@ jobs:}]}- env:- SLACK_WEBHOOK_URL: ${{ secrets[steps.team_name.outputs.team_name] }}- SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOKdiff --git a/.github/workflows/transforms-python-stress-test.yml b/.github/workflows/transforms-python-stress-test.ymlindex 9c65b10ec14..8cd39defa0c 100644--- a/.github/workflows/transforms-python-stress-test.yml+++ b/.github/workflows/transforms-python-stress-test.yml@@ -104,7 +104,7 @@ jobs:run: |sudo echo "127.0.0.1 server.clickhouseconnect.test" | sudo tee -a /etc/hosts- name: Start ClickHouse in Docker- uses: hoverkraft-tech/compose-action@802a148945af6399a338c7906c267331b39a71af # v2.0.0+ uses: hoverkraft-tech/compose-action@d2bee4f07e8ca410d6b196d00f90c12e7d48c33a # v2.6.0with:compose-file: "modules/drivers/clickhouse/docker-compose.yml"down-flags: "--volumes"diff --git a/.github/workflows/translation-context.yml b/.github/workflows/translation-context.ymlindex c0aae093792..2bde5588bc0 100644--- a/.github/workflows/translation-context.yml+++ b/.github/workflows/translation-context.yml@@ -36,7 +36,7 @@ jobs:# Hence, the three minute timeout and continue-on-error.- name: Trigger pre-translationstimeout-minutes: 3- uses: crowdin/github-action@ce33ce793a5cbc401d9cd748716e03fc90c001f1 # v2+ uses: crowdin/github-action@8868a33591d21088edfc398968173a3b98d51706 # v2.16.2# https://crowdin.github.io/crowdin-cli/commands/crowdin-pre-translatewith:command: "pre-translate"diff --git a/.github/workflows/translation-update.yml b/.github/workflows/translation-update.ymlindex 9c90211bbc2..f68ed292dde 100644--- a/.github/workflows/translation-update.yml+++ b/.github/workflows/translation-update.yml@@ -34,7 +34,7 @@ jobs:run: sudo apt-get install gettext- name: Crowdin download- uses: crowdin/github-action@ce33ce793a5cbc401d9cd748716e03fc90c001f1 # v2+ uses: crowdin/github-action@8868a33591d21088edfc398968173a3b98d51706 # v2.16.2id: crowdin-downloadwith:config: locales/crowdin.yml@@ -85,7 +85,7 @@ jobs:retention-days: 30- name: Crowdin upload- uses: crowdin/github-action@ce33ce793a5cbc401d9cd748716e03fc90c001f1 # v2+ uses: crowdin/github-action@8868a33591d21088edfc398968173a3b98d51706 # v2.16.2id: crowdin-uploadenv:GITHUB_TOKEN: ${{ github.token }}