From 1707cc0192da2bbd8eb33019bf80207312ffc71b Mon Sep 17 00:00:00 2001 From: Kevin Veen-Birkenbach Date: Wed, 25 Nov 2026 19:13:25 +0000 Subject: [PATCH 1/3] ci: run quality's gate and take ruff from the quality flake MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit lint-python now runs ruff through quality's reusable tool workflow, so its version comes from quality's flake.lock instead of the latest pip release, and a new workflow runs quality's differential gate on pull requests and pushes to main. Both pin one quality commit by their uses: line only. 🎯 Fix: 85 % 💥 Break: 4 % 💸 Tokens: – ⏱️ Velocity: – 🛡️ Security: 100 % 🏆 Score: 82 🚦 Gate: ⛔ fix 85 % < 90 Created-with: https://s.veen.world/skills Co-Authored-By: Claude Opus 5.5 --- .github/workflows/lint-python.yml | 20 ++++---------------- .github/workflows/quality.yml | 14 ++++++++++++++ 2 files changed, 18 insertions(+), 16 deletions(-) create mode 100644 .github/workflows/quality.yml diff --git a/.github/workflows/lint-python.yml b/.github/workflows/lint-python.yml index 8fa6a6c..5dc408c 100644 --- a/.github/workflows/lint-python.yml +++ b/.github/workflows/lint-python.yml @@ -8,19 +8,7 @@ permissions: jobs: lint-python: - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v7 - - - name: Set up Python - uses: actions/setup-python@v7 - with: - python-version: "3.12" - - - name: Install ruff - run: pip install ruff - - - name: Run ruff - run: | - ruff check src tests + uses: infinito-nexus/quality/.github/workflows/tool.yml@ed91a38fa19c2734d2cf07a0ade77bbb63f3096f + with: + tool: ruff + args: check src tests diff --git a/.github/workflows/quality.yml b/.github/workflows/quality.yml new file mode 100644 index 0000000..0dd00b7 --- /dev/null +++ b/.github/workflows/quality.yml @@ -0,0 +1,14 @@ +name: Quality gate + +on: + pull_request: + push: + branches: + - main + +permissions: + contents: read + +jobs: + quality: + uses: infinito-nexus/quality/.github/workflows/quality.yml@ed91a38fa19c2734d2cf07a0ade77bbb63f3096f From 2b18deede822d0db32bb51fb48a7a812c997394b Mon Sep 17 00:00:00 2001 From: Kevin Veen-Birkenbach Date: Wed, 25 Nov 2026 19:53:16 +0000 Subject: [PATCH 2/3] ci: call the quality gate from ci.yml to keep the workflow folder at 15 files MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The gate's first run on PR #11 found one new finding, clean.folder-items on .github/workflows (16 items). The gate's call moves into ci.yml as the job quality, which runs only on pull requests and pushes to main, so the folder keeps the 15 files main has. 🎯 Fix: 90 % 💥 Break: 3 % 💸 Tokens: – ⏱️ Velocity: – 🛡️ Security: 100 % 🏆 Score: 87 🚦 Gate: ✅ 90/5, tokens and velocity <= 100, security 100 % Created-with: https://s.veen.world/skills Co-Authored-By: Claude Opus 5.5 --- .github/workflows/ci.yml | 6 ++++++ .github/workflows/quality.yml | 14 -------------- 2 files changed, 6 insertions(+), 14 deletions(-) delete mode 100644 .github/workflows/quality.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c8fcb57..05430fc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -71,3 +71,9 @@ jobs: contents: read security-events: write uses: ./.github/workflows/lint-docker.yml + + quality: + if: github.event_name == 'pull_request' || github.ref == 'refs/heads/main' + permissions: + contents: read + uses: infinito-nexus/quality/.github/workflows/quality.yml@ed91a38fa19c2734d2cf07a0ade77bbb63f3096f diff --git a/.github/workflows/quality.yml b/.github/workflows/quality.yml deleted file mode 100644 index 0dd00b7..0000000 --- a/.github/workflows/quality.yml +++ /dev/null @@ -1,14 +0,0 @@ -name: Quality gate - -on: - pull_request: - push: - branches: - - main - -permissions: - contents: read - -jobs: - quality: - uses: infinito-nexus/quality/.github/workflows/quality.yml@ed91a38fa19c2734d2cf07a0ade77bbb63f3096f From d34c3f377200d2e63c70cab4eb0787aee91754b5 Mon Sep 17 00:00:00 2001 From: Kevin Veen-Birkenbach Date: Wed, 25 Nov 2026 20:47:11 +0000 Subject: [PATCH 3/3] ci: pin the quality workflows to v0.2.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Both reusable quality workflows move from quality main ed91a38 to the v0.2.0 release commit 003eed6, pinned by sha with the version comment that Dependabot's github-actions updates. job.workflow_sha resolves to the same commit, so the tool versions follow this one pin. 🎯 Fix: 93 % 💥 Break: 2 % 💸 Tokens: – ⏱️ Velocity: – 🛡️ Security: 100 % 🏆 Score: 91 🚦 Gate: ✅ 90/5, tokens and velocity <= 100, security 100 % Created-with: https://s.veen.world/skills Co-Authored-By: Claude Opus 5.5 --- .github/workflows/ci.yml | 2 +- .github/workflows/lint-python.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 05430fc..765c850 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -76,4 +76,4 @@ jobs: if: github.event_name == 'pull_request' || github.ref == 'refs/heads/main' permissions: contents: read - uses: infinito-nexus/quality/.github/workflows/quality.yml@ed91a38fa19c2734d2cf07a0ade77bbb63f3096f + uses: infinito-nexus/quality/.github/workflows/quality.yml@003eed66dd51592c3312a7c21ae429abead54d6f # v0.2.0 diff --git a/.github/workflows/lint-python.yml b/.github/workflows/lint-python.yml index 5dc408c..a6a2d10 100644 --- a/.github/workflows/lint-python.yml +++ b/.github/workflows/lint-python.yml @@ -8,7 +8,7 @@ permissions: jobs: lint-python: - uses: infinito-nexus/quality/.github/workflows/tool.yml@ed91a38fa19c2734d2cf07a0ade77bbb63f3096f + uses: infinito-nexus/quality/.github/workflows/tool.yml@003eed66dd51592c3312a7c21ae429abead54d6f # v0.2.0 with: tool: ruff args: check src tests