Skip to content

Commit ae39288

Browse files
authored
Merge branch 'master' into table-header-divider-alignment
2 parents 7d3d9a8 + 50c84f2 commit ae39288

2,798 files changed

Lines changed: 131839 additions & 43679 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.cursor/rules/dev-standard.mdc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,9 +105,9 @@ Charts built from enriched datasets containing:
105105
pre-commit install
106106

107107
# Quick validation (faster than --all-files)
108-
pre-commit run # Staged files only
108+
pre-commit run # Staged files only
109109
pre-commit run mypy # Python type checking
110-
pre-commit run prettier # Code formatting
110+
pre-commit run format # Code formatting
111111
pre-commit run eslint # Frontend linting
112112
```
113113

.devcontainer/devcontainer-base.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@
3232
"ms-python.vscode-pylance",
3333
"charliermarsh.ruff",
3434
"dbaeumer.vscode-eslint",
35-
"esbenp.prettier-vscode"
3635
]
3736
}
3837
}

.devcontainer/devcontainer.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,6 @@
5959
"ms-python.vscode-pylance",
6060
"charliermarsh.ruff",
6161
"dbaeumer.vscode-eslint",
62-
"esbenp.prettier-vscode"
6362
]
6463
}
6564
}
Lines changed: 0 additions & 1 deletion
This file was deleted.

.github/workflows/bashlib.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ cypress-run-all() {
256256
# UNCOMMENT the next few commands to monitor memory usage
257257
# monitor_memory & # Start memory monitoring in the background
258258
# memoryMonitorPid=$!
259-
python ../../scripts/cypress_run.py --parallelism $PARALLELISM --parallelism-id $PARALLEL_ID --group $PARALLEL_ID --retries 5 $USE_DASHBOARD_FLAG
259+
python ../../scripts/cypress_run.py --retries 5 $USE_DASHBOARD_FLAG
260260
# kill $memoryMonitorPid
261261
}
262262

.github/workflows/bump-python-package.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ on:
2323

2424
jobs:
2525
bump-python-package:
26-
runs-on: ubuntu-26.04
26+
runs-on: ubuntu-slim
2727
permissions:
2828
actions: write
2929
contents: write

.github/workflows/check_db_migration_confict.yml renamed to .github/workflows/check-db-migration-confict.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ concurrency:
1919
jobs:
2020
check_db_migration_conflict:
2121
name: Check DB migration conflict
22-
runs-on: ubuntu-26.04
22+
runs-on: ubuntu-slim
2323
permissions:
2424
contents: read
2525
pull-requests: write

.github/workflows/check-python-deps.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ on:
1111
permissions:
1212
contents: read
1313
pull-requests: read
14+
actions: read
1415

1516
# cancel previous workflow jobs for PRs
1617
concurrency:
@@ -21,6 +22,10 @@ jobs:
2122
check-python-deps:
2223
runs-on: ubuntu-26.04
2324
steps:
25+
- uses: Kesin11/actions-timeline@7bf79990b7c09f5dfb570ac30b814ca597bd538e # v3.1.1
26+
with:
27+
expand-composite-actions: true
28+
2429
- name: "Checkout ${{ github.ref }} ( ${{ github.sha }} )"
2530
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
2631
with:
@@ -46,7 +51,7 @@ jobs:
4651
- name: Login to Docker Hub
4752
if: steps.check.outputs.python
4853
continue-on-error: true
49-
uses: docker/login-action@af1e73f918a031802d376d3c8bbc3fe56130a9b0 # v4.4.0
54+
uses: docker/login-action@371161bbe7024a29a25c5e19bfcbc0804fe9ad2c # v4.5.2
5055
with:
5156
username: ${{ secrets.DOCKERHUB_USER }}
5257
password: ${{ secrets.DOCKERHUB_TOKEN }}

.github/workflows/codeql-analysis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ jobs:
6464

6565
# Initializes the CodeQL tools for scanning.
6666
- name: Initialize CodeQL
67-
uses: github/codeql-action/init@e0647621c2984b5ed2f768cb892365bf2a616ad1 # v4.37.2
67+
uses: github/codeql-action/init@e4fba868fa4b1b91e1fdab776edc8cfbe6e9fb81 # v4.37.3
6868
with:
6969
languages: ${{ matrix.language }}
7070
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -75,6 +75,6 @@ jobs:
7575
# queries: security-extended,security-and-quality
7676

7777
- name: Perform CodeQL Analysis
78-
uses: github/codeql-action/analyze@e0647621c2984b5ed2f768cb892365bf2a616ad1 # v4.37.2
78+
uses: github/codeql-action/analyze@e4fba868fa4b1b91e1fdab776edc8cfbe6e9fb81 # v4.37.3
7979
with:
8080
category: "/language:${{matrix.language}}"
Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
name: Auto-approve Dependabot patch bumps
2+
3+
# Posts an approving review on Dependabot PRs that only bump a patch
4+
# version, using the same trigger/guard convention already proven to work
5+
# for Dependabot PRs in sync-requirements-for-python-dep-upgrade-pr.yml
6+
# (plain `pull_request` gets a working, write-capable GITHUB_TOKEN here
7+
# because Dependabot pushes branches directly to this repo, not a fork).
8+
#
9+
# This does NOT auto-merge anything - repo-wide auto-merge is disabled
10+
# (Settings > General > Pull Requests > "Allow auto-merge" is off), and
11+
# flipping that is a separate, repo-wide decision this workflow doesn't
12+
# make on its own. Branch protection also still requires 1 approving
13+
# review; this just means that review can already exist by the time a
14+
# human looks at the PR, for the (large majority of) ecosystems whose
15+
# files aren't matched by any CODEOWNERS pattern. One ecosystem - the npm
16+
# bump under .github/actions - matches the /.github/ CODEOWNERS entry, so
17+
# those PRs will still need a human owner's approval regardless of this
18+
# workflow; it posts a review there too, but that alone won't satisfy the
19+
# code-owner requirement.
20+
on:
21+
pull_request:
22+
types: [opened, synchronize]
23+
24+
# Cancel a superseded run if Dependabot pushes to the same PR again before
25+
# the previous run finished (matches the pattern used elsewhere in
26+
# superset-docs-verify.yml).
27+
concurrency:
28+
group: ${{ github.workflow }}-${{ github.event.pull_request.number }}
29+
cancel-in-progress: true
30+
31+
permissions: {}
32+
33+
jobs:
34+
approve-patch-bump:
35+
name: Approve patch-level bump
36+
# Mirrors the guard in sync-requirements-for-python-dep-upgrade-pr.yml:
37+
# limited to (1) PRs authored by Dependabot and (2) the upstream repo,
38+
# since forked PRs don't get a write-capable token here anyway.
39+
if: >
40+
github.repository == 'apache/superset' &&
41+
github.event.pull_request.user.login == 'dependabot[bot]' &&
42+
github.event.pull_request.head.repo.fork == false
43+
runs-on: ubuntu-latest
44+
permissions:
45+
pull-requests: write # to post the approving review via `gh pr review`
46+
steps:
47+
- name: Fetch Dependabot metadata
48+
id: metadata
49+
# This exact SHA is on ASF Infra's action allowlist
50+
# (apache/infrastructure-actions approved_patterns.yml) as of this
51+
# writing. Do not bump without opening an Infra ticket to allow
52+
# the new SHA first!
53+
uses: dependabot/fetch-metadata@25dd0e34f4fe68f24cc83900b1fe3fe149efef98 # v3.1.0
54+
55+
- name: Approve patch-level bump
56+
if: steps.metadata.outputs.update-type == 'version-update:semver-patch'
57+
env:
58+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
59+
PR_URL: ${{ github.event.pull_request.html_url }}
60+
DEPENDENCY_NAMES: ${{ steps.metadata.outputs.dependency-names }}
61+
run: |
62+
gh pr review --approve "$PR_URL" \
63+
--body "Auto-approved: patch-level bump only ($DEPENDENCY_NAMES)."

0 commit comments

Comments
 (0)