-
Notifications
You must be signed in to change notification settings - Fork 14.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into fix-tabs-order-in-pdf
- Loading branch information
Showing
1,153 changed files
with
52,895 additions
and
23,609 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
docker/**/*.sh text eol=lf | ||
*.svg binary | ||
*.ipynb binary |
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
name: Label Draft PRs | ||
on: | ||
pull_request: | ||
types: | ||
- opened | ||
- converted_to_draft | ||
jobs: | ||
label-draft: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check if the PR is a draft | ||
id: check-draft | ||
uses: actions/github-script@v6 | ||
with: | ||
script: | | ||
const isDraft = context.payload.pull_request.draft; | ||
core.setOutput('isDraft', isDraft); | ||
- name: Add `review:draft` Label | ||
if: steps.check-draft.outputs.isDraft == 'true' | ||
uses: actions-ecosystem/action-add-labels@v1 | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
labels: "review:draft" |
Submodule chart-releaser-action
updated
5 files
+26 −0 | .github/dependabot.yml | |
+63 −0 | .github/workflows/test-action.yml | |
+56 −16 | README.md | |
+91 −6 | action.yml | |
+265 −185 | cr.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
name: "Setup Docker Environment" | ||
description: "Reusable steps for setting up QEMU, Docker Buildx, DockerHub login, Supersetbot, and optionally Docker Compose" | ||
inputs: | ||
build: | ||
description: "Used for building?" | ||
required: false | ||
default: "false" | ||
dockerhub-user: | ||
description: "DockerHub username" | ||
required: false | ||
dockerhub-token: | ||
description: "DockerHub token" | ||
required: false | ||
install-docker-compose: | ||
description: "Flag to install Docker Compose" | ||
required: false | ||
default: "true" | ||
login-to-dockerhub: | ||
description: "Whether you want to log into dockerhub" | ||
required: false | ||
default: "true" | ||
outputs: {} | ||
runs: | ||
using: "composite" | ||
steps: | ||
|
||
- name: Set up QEMU | ||
if: ${{ inputs.build == 'true' }} | ||
uses: docker/setup-qemu-action@v3 | ||
|
||
- name: Set up Docker Buildx | ||
if: ${{ inputs.build == 'true' }} | ||
uses: docker/setup-buildx-action@v3 | ||
|
||
- name: Try to login to DockerHub | ||
if: ${{ inputs.login-to-dockerhub == 'true' }} | ||
continue-on-error: true | ||
uses: docker/login-action@v3 | ||
with: | ||
username: ${{ inputs.dockerhub-user }} | ||
password: ${{ inputs.dockerhub-token }} | ||
|
||
- name: Install Docker Compose | ||
if: ${{ inputs.install-docker-compose == 'true' }} | ||
shell: bash | ||
run: | | ||
sudo apt-get update | ||
sudo apt-get install -y ca-certificates curl | ||
sudo install -m 0755 -d /etc/apt/keyrings | ||
# Download and save the Docker GPG key in the correct format | ||
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg | ||
# Ensure the key file is readable | ||
sudo chmod a+r /etc/apt/keyrings/docker.gpg | ||
# Add the Docker repository using the correct key | ||
echo \ | ||
"deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu \ | ||
$(. /etc/os-release && echo "$VERSION_CODENAME") stable" | \ | ||
sudo tee /etc/apt/sources.list.d/docker.list > /dev/null | ||
# Update package lists and install Docker Compose plugin | ||
sudo apt update | ||
sudo apt install -y docker-compose-plugin | ||
- name: Docker Version Info | ||
shell: bash | ||
run: docker info |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
name: Check python dependencies | ||
|
||
on: | ||
push: | ||
branches: | ||
- "master" | ||
- "[0-9].[0-9]*" | ||
pull_request: | ||
types: [synchronize, opened, reopened, ready_for_review] | ||
|
||
# cancel previous workflow jobs for PRs | ||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.run_id }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
check-python-deps: | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
|
||
- name: "Checkout ${{ github.ref }} ( ${{ github.sha }} )" | ||
uses: actions/checkout@v4 | ||
with: | ||
persist-credentials: false | ||
submodules: recursive | ||
depth: 1 | ||
|
||
- name: Setup Python | ||
if: steps.check.outputs.python | ||
uses: ./.github/actions/setup-backend/ | ||
|
||
- name: Run uv | ||
if: steps.check.outputs.python | ||
run: ./scripts/uv-pip-compile.sh | ||
|
||
- name: Check for uncommitted changes | ||
run: | | ||
if [[ -n "$(git diff)" ]]; then | ||
echo "ERROR: The pinned dependencies are not up-to-date." | ||
echo "Please run './scripts/uv-pip-compile.sh' and commit the changes." | ||
exit 1 | ||
else | ||
echo "Pinned dependencies are up-to-date." | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,14 +5,26 @@ | |
# Source repository: https://github.com/actions/dependency-review-action | ||
# Public documentation: https://docs.github.com/en/code-security/supply-chain-security/understanding-your-software-supply-chain/about-dependency-review#dependency-review-enforcement | ||
name: "Dependency Review" | ||
on: [pull_request] | ||
on: | ||
push: | ||
branches: | ||
- "master" | ||
- "[0-9].[0-9]*" | ||
pull_request: | ||
types: [synchronize, opened, reopened, ready_for_review] | ||
|
||
# cancel previous workflow jobs for PRs | ||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.run_id }} | ||
cancel-in-progress: true | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
dependency-review: | ||
runs-on: ubuntu-22.04 | ||
if: github.event_name == 'pull_request' | ||
runs-on: ubuntu-24.04 | ||
steps: | ||
- name: "Checkout Repository" | ||
uses: actions/checkout@v4 | ||
|
@@ -32,4 +44,25 @@ jobs: | |
# license: https://applitools.com/legal/open-source-terms-of-use/ | ||
# pkg:npm/[email protected] | ||
# selecting BSD-3-Clause licensing terms for node-forge to ensure compatibility with Apache | ||
allow-dependencies-licenses: pkg:npm/[email protected], pkg:npm/applitools/core, pkg:npm/applitools/core-base, pkg:npm/applitools/css-tree, pkg:npm/applitools/ec-client, pkg:npm/applitools/eg-socks5-proxy-server, pkg:npm/applitools/eyes, pkg:npm/applitools/eyes-cypress, pkg:npm/applitools/nml-client, pkg:npm/applitools/tunnel-client, pkg:npm/applitools/utils, pkg:npm/[email protected], pkg:npm/rgbcolor | ||
allow-dependencies-licenses: pkg:npm/[email protected], pkg:npm/applitools/core, pkg:npm/applitools/core-base, pkg:npm/applitools/css-tree, pkg:npm/applitools/ec-client, pkg:npm/applitools/eg-socks5-proxy-server, pkg:npm/applitools/eyes, pkg:npm/applitools/eyes-cypress, pkg:npm/applitools/nml-client, pkg:npm/applitools/tunnel-client, pkg:npm/applitools/utils, pkg:npm/[email protected], pkg:npm/rgbcolor, pkg:npm/[email protected] | ||
|
||
python-dependency-liccheck: | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- name: "Checkout Repository" | ||
uses: actions/checkout@v4 | ||
|
||
- name: Setup Python | ||
uses: ./.github/actions/setup-backend/ | ||
with: | ||
requirements-type: base | ||
|
||
- name: "Set up liccheck" | ||
run: | | ||
uv pip install --system liccheck | ||
- name: "Run liccheck" | ||
run: | | ||
# run the checks | ||
liccheck -R output.txt | ||
# Print the report | ||
cat output.txt |
Oops, something went wrong.