From 1707cc0192da2bbd8eb33019bf80207312ffc71b Mon Sep 17 00:00:00 2001 From: Kevin Veen-Birkenbach Date: Wed, 25 Nov 2026 19:13:25 +0000 Subject: [PATCH] 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