git-ai 1.2.1

Git AI: Automates commit messages using ChatGPT. Stage your files, and Git AI generates the messages.
Documentation
name: Code Quality

# Runs the qlty checks (actionlint, clippy, zizmor, trufflehog, ...) defined in
# .qlty/qlty.toml. This is intentionally NOT a required status check -- it
# surfaces quality/security findings without blocking merges.
#
# rustfmt is set to `mode = "monitor"` in qlty.toml so this job does NOT run the
# stable-rustfmt formatter, which would conflict with the repo's nightly-only
# `cargo +nightly fmt` source of truth.
on:
  push:
    branches: [main]
  pull_request:

permissions:
  contents: read

jobs:
  qlty:
    runs-on: ubuntu-latest
    permissions:
      contents: read
    steps:
      - name: Checkout code
        uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5
        with:
          persist-credentials: false

      - name: Install qlty CLI
        run: |
          curl -fsSL https://qlty.sh | bash
          echo "$HOME/.qlty/bin" >> "$GITHUB_PATH"

      # Informational (job is not a required check): surface findings without
      # blocking merges while the qlty backlog (TODOs, smells) is triaged.
      - name: Run qlty checks
        run: qlty check --all --no-fix || true