Skip to content

Implement call hook via Agent Gateway #556

Implement call hook via Agent Gateway

Implement call hook via Agent Gateway #556

Workflow file for this run

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: "Install dependencies"
run: uv sync --all-extras
- name: "Run pre-commit hooks"
run: uvx pre-commit run --all-files