From 43d6f1ad6f9165d0124f2297700b7de767446364 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebasti=C3=A1n=20Ram=C3=ADrez?= Date: Wed, 12 Aug 2026 08:27:59 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=B7=20Migrate=20automatic=20labels=20t?= =?UTF-8?q?o=20Latest=20Changes?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/labeler.yml | 24 ------------------------ .github/latest-changes.yml | 11 +++++++++++ .github/workflows/labeler.yml | 20 -------------------- 3 files changed, 11 insertions(+), 44 deletions(-) delete mode 100644 .github/labeler.yml create mode 100644 .github/latest-changes.yml delete mode 100644 .github/workflows/labeler.yml diff --git a/.github/labeler.yml b/.github/labeler.yml deleted file mode 100644 index fbbe9f28ef..0000000000 --- a/.github/labeler.yml +++ /dev/null @@ -1,24 +0,0 @@ -docs: - - all: - - changed-files: - - any-glob-to-any-file: - - docs/** - - docs_src/** - - all-globs-to-all-files: - - '!sqlmodel/**' - - '!pyproject.toml' - -internal: - - all: - - changed-files: - - any-glob-to-any-file: - - .github/** - - scripts/** - - .gitignore - - .pre-commit-config.yaml - - requirements*.txt - - uv.lock - - all-globs-to-all-files: - - '!docs/**' - - '!sqlmodel/**' - - '!pyproject.toml' diff --git a/.github/latest-changes.yml b/.github/latest-changes.yml new file mode 100644 index 0000000000..dc1d7dc25e --- /dev/null +++ b/.github/latest-changes.yml @@ -0,0 +1,11 @@ +auto-labels: + docs: + - docs/** + - docs_src/** + internal: + - .github/** + - scripts/** + - .gitignore + - .pre-commit-config.yaml + - requirements*.txt + - uv.lock diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml deleted file mode 100644 index bc990e9623..0000000000 --- a/.github/workflows/labeler.yml +++ /dev/null @@ -1,20 +0,0 @@ -name: Labels -on: - pull_request_target: # zizmor: ignore[dangerous-triggers] - types: - - opened - - synchronize - - reopened - -permissions: {} - -jobs: - labeler: - permissions: - contents: read - pull-requests: write - runs-on: ubuntu-latest - timeout-minutes: 5 - steps: - - uses: actions/labeler@bf12e9b00b37c5c0ca2b87b79b2daf7891dbda13 # v7.0.0 - - run: echo "Done adding labels"