]> git.ipfire.org Git - thirdparty/fastapi/sqlmodel.git/commitdiff
👷 Migrate automatic labels to Latest Changes (#2074)
authorSebastián Ramírez <tiangolo@gmail.com>
Wed, 12 Aug 2026 07:19:58 +0000 (09:19 +0200)
committerGitHub <noreply@github.com>
Wed, 12 Aug 2026 07:19:58 +0000 (09:19 +0200)
.github/labeler.yml [deleted file]
.github/latest-changes.yml [new file with mode: 0644]
.github/workflows/labeler.yml [deleted file]

diff --git a/.github/labeler.yml b/.github/labeler.yml
deleted file mode 100644 (file)
index fbbe9f2..0000000
+++ /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 (file)
index 0000000..dc1d7dc
--- /dev/null
@@ -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 (file)
index bc990e9..0000000
+++ /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"