Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 39 additions & 0 deletions .github/workflows/qlty.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Qlty

on:
pull_request:
branches: [main]
schedule:
# Weekly full-codebase health scan: Monday 07:00 UTC
- cron: '0 7 * * 1'
workflow_dispatch:

permissions: read-all

concurrency:
group: qlty-${{ github.ref }}
cancel-in-progress: true

jobs:
# PR gate: diff mode, block merges that introduce medium+ severity issues.
# Check name: "qlty-gate / Qlty Gate" -- required by org docs-tier ruleset.
qlty-gate:
if: github.event_name == 'pull_request'
uses: ByronWilliamsCPA/.github/.github/workflows/python-qlty-gate.yml@040026ab682aa4b9ef491750d62cdd1592cdb659
permissions:
contents: read
with:
fail-level: medium
upstream: origin/${{ github.base_ref }}

# Weekly health scan: full codebase, informational only.
# Remove no-fail once existing qlty debt is resolved.
qlty-health:
if: github.event_name == 'schedule' || github.event_name == 'workflow_dispatch'
uses: ByronWilliamsCPA/.github/.github/workflows/python-qlty-gate.yml@040026ab682aa4b9ef491750d62cdd1592cdb659
permissions:
contents: read
with:
fail-level: high
check-all: true
no-fail: true