From cdbb660571552715517c6153053f219d00c80c13 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebasti=C3=A1n=20Ram=C3=ADrez?= Date: Wed, 12 Aug 2026 09:19:22 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=B7=20Migrate=20automatic=20labels=20t?= =?UTF-8?q?o=20Latest=20Changes=20(#16185)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/labeler.yml | 38 ----------------------------------- .github/latest-changes.yml | 15 ++++++++++++++ .github/workflows/labeler.yml | 20 ------------------ 3 files changed, 15 insertions(+), 58 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 3c0bf473e0..0000000000 --- a/.github/labeler.yml +++ /dev/null @@ -1,38 +0,0 @@ -docs: - - all: - - changed-files: - - any-glob-to-any-file: - - docs/en/docs/** - - docs_src/** - - all-globs-to-all-files: - - '!fastapi/**' - - '!pyproject.toml' - - '!docs/en/data/sponsors.yml' - - '!docs/en/overrides/main.html' - -lang-all: - - all: - - changed-files: - - any-glob-to-any-file: - - docs/*/docs/** - - all-globs-to-all-files: - - '!docs/en/docs/**' - - '!docs/*/**/_*.md' - - '!fastapi/**' - - '!pyproject.toml' - -internal: - - all: - - changed-files: - - any-glob-to-any-file: - - .github/** - - scripts/** - - .gitignore - - .pre-commit-config.yaml - - uv.lock - - docs/en/data/sponsors.yml - - docs/en/overrides/main.html - - all-globs-to-all-files: - - '!docs/*/docs/**' - - '!fastapi/**' - - '!pyproject.toml' diff --git a/.github/latest-changes.yml b/.github/latest-changes.yml new file mode 100644 index 0000000000..f1e99e084e --- /dev/null +++ b/.github/latest-changes.yml @@ -0,0 +1,15 @@ +auto-labels: + docs: + - docs/en/docs/** + - docs_src/** + lang-all: + - exclude: docs/*/**/_*.md + - docs/*/docs/** + internal: + - .github/** + - scripts/** + - .gitignore + - .pre-commit-config.yaml + - uv.lock + - docs/en/data/sponsors.yml + - docs/en/overrides/main.html 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"