Skip to content

Self-evolving Context Database for AI Agents. Unify Agent Memory, Knowledge RAG and Skills.

feat(ci): drop lint PR check (#2800)

Zayn Jarvisad4ccb8a754a
diff --git a/.github/workflows/_lint.yml b/.github/workflows/_lint.yml
deleted file mode 100644
index 9bbde04dd..000000000
--- a/.github/workflows/_lint.yml
+++ /dev/null
@@ -1,53 +0,0 @@
-name: 11. _Lint Checks
-
-on:
- workflow_call:
- workflow_dispatch:
-
-jobs:
- lint:
- runs-on: ubuntu-24.04
- steps:
- - uses: actions/checkout@v6
- with:
- fetch-depth: 0 # Required to calculate the git diff
-
-
-
- - name: Set up Python
- uses: actions/setup-python@v6
- with:
- python-version: '3.11'
-
- - name: Install uv
- uses: astral-sh/setup-uv@v7
- with:
- enable-cache: true
-
- - name: Install dependencies
- run: uv sync --frozen --extra dev
-
- # --- NEW STEP: Get the list of changed files ---
- - name: Get changed files
- id: files
- run: |
- # Compare the PR head to the base branch
- echo "changed_files=$(git diff --name-only --diff-filter=d origin/${{ github.base_ref }} HEAD | grep '\.py$' | xargs)" >> $GITHUB_OUTPUT
-
- # --- UPDATED STEPS: Use the file list ---
- - name: List files
- run: echo "The changed files are ${{ steps.files.outputs.changed_files }}"
-
- - name: Format with ruff (Changed files only)
- if: steps.files.outputs.changed_files != ''
- run: uv run ruff format --check ${{ steps.files.outputs.changed_files }}
-
- - name: Lint with ruff (Changed files only)
- if: steps.files.outputs.changed_files != ''
- run: uv run ruff check ${{ steps.files.outputs.changed_files }}
-
- - name: Type check with mypy (Changed files only)
- if: steps.files.outputs.changed_files != ''
- # Note: Running mypy on specific files may miss cross-file type errors
- run: uv run mypy ${{ steps.files.outputs.changed_files }}
- continue-on-error: true
diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml
index 81ebf7ece..e84e98990 100644
--- a/.github/workflows/pr.yml
+++ b/.github/workflows/pr.yml
@@ -18,9 +18,6 @@ on:
- '.editorconfig'
jobs:
- lint:
- uses: ./.github/workflows/_lint.yml
-
check-deps:
runs-on: ubuntu-24.04
outputs: