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"