name: "Ruff" on: workflow_call: inputs: head_sha: required: true type: string jobs: ruff: name: Ruff runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v6 with: ref: ${{ inputs.head_sha }} - name: Set up Python uses: actions/setup-python@v6 with: python-version: '3.13' - uses: pre-commit/action@v3.0.1 with: extra_args: ruff --all-files --hook-stage pre-push