From 79109c1b45d44dc5bb7be64ffe1959274fa61772 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 | 25 ------------------------- .github/latest-changes.yml | 12 ++++++++++++ .github/workflows/labeler.yml | 20 -------------------- 3 files changed, 12 insertions(+), 45 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 ed657c23d7..0000000000 --- a/.github/labeler.yml +++ /dev/null @@ -1,25 +0,0 @@ -docs: - - all: - - changed-files: - - any-glob-to-any-file: - - '**/*.md' - - all-globs-to-all-files: - - '!frontend/**' - - '!backend/**' - - '!.github/**' - - '!scripts/**' - - '!.gitignore' - - '!.pre-commit-config.yaml' - -internal: - - all: - - changed-files: - - any-glob-to-any-file: - - .github/** - - scripts/** - - .gitignore - - .pre-commit-config.yaml - - all-globs-to-all-files: - - '!./**/*.md' - - '!frontend/**' - - '!backend/**' diff --git a/.github/latest-changes.yml b/.github/latest-changes.yml new file mode 100644 index 0000000000..89034c743a --- /dev/null +++ b/.github/latest-changes.yml @@ -0,0 +1,12 @@ +auto-labels: + docs: + - exclude: frontend/** + - exclude: backend/** + - exclude: .github/** + - exclude: scripts/** + - '**/*.md' + internal: + - .github/** + - scripts/** + - .gitignore + - .pre-commit-config.yaml 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"