Repository navigation
fix(auditlog-ng): strip prompt/response text from AiMessageContext #1822
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Code Quality Checks | |
| # This workflow runs static analysis that doesn't require secrets | |
| on: | |
| pull_request: | |
| types: [opened, synchronize, reopened] | |
| push: | |
| branches: | |
| - main | |
| env: | |
| PYTHON_VERSION: "3.11" | |
| jobs: | |
| checks: | |
| name: Code Quality Checks | |
| runs-on: ${{ contains(github.server_url, 'github.com') && 'ubuntu-latest' || fromJSON('["self-hosted"]') }} | |
| permissions: | |
| contents: read | |
| steps: | |
| - name: "Checkout PR Code" | |
| uses: actions/checkout@v4 | |
| - name: "Install uv" | |
| uses: astral-sh/setup-uv@v3 | |
| with: | |
| version: "latest" | |
| enable-cache: true | |
| - name: "Set up Python" | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: ${{ env.PYTHON_VERSION }} | |
| - name: "Verify uv.lock is up to date" | |
| run: uv lock --check | |
| - name: "Install dependencies" | |
| run: uv sync --all-extras | |
| - name: "Run pre-commit hooks" | |
| run: uvx pre-commit run --all-files |