Skip to content

Commit 0ad4bfc

Browse files
williabyclaude
andcommitted
feat(ci): add qlty gate and weekly health scan
Adds qlty-gate job (PR diff gate, fail-level medium) and qlty-health job (weekly full scan, informational). No coverage upload — this is an infra/config repo. Refs: #188 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 1561a3e commit 0ad4bfc

1 file changed

Lines changed: 39 additions & 0 deletions

File tree

.github/workflows/qlty.yml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: Qlty
2+
3+
on:
4+
pull_request:
5+
branches: [main]
6+
schedule:
7+
# Weekly full-codebase health scan: Monday 07:00 UTC
8+
- cron: '0 7 * * 1'
9+
workflow_dispatch:
10+
11+
permissions: read-all
12+
13+
concurrency:
14+
group: qlty-${{ github.ref }}
15+
cancel-in-progress: true
16+
17+
jobs:
18+
# PR gate: diff mode, block merges that introduce medium+ severity issues.
19+
# Check name: "qlty-gate / Qlty Gate" -- required by org docs-tier ruleset.
20+
qlty-gate:
21+
if: github.event_name == 'pull_request'
22+
uses: ByronWilliamsCPA/.github/.github/workflows/python-qlty-gate.yml@040026ab682aa4b9ef491750d62cdd1592cdb659
23+
permissions:
24+
contents: read
25+
with:
26+
fail-level: medium
27+
upstream: origin/${{ github.base_ref }}
28+
29+
# Weekly health scan: full codebase, informational only.
30+
# Remove no-fail once existing qlty debt is resolved.
31+
qlty-health:
32+
if: github.event_name == 'schedule' || github.event_name == 'workflow_dispatch'
33+
uses: ByronWilliamsCPA/.github/.github/workflows/python-qlty-gate.yml@040026ab682aa4b9ef491750d62cdd1592cdb659
34+
permissions:
35+
contents: read
36+
with:
37+
fail-level: high
38+
check-all: true
39+
no-fail: true

0 commit comments

Comments
 (0)