ci: honest audit gate, real Socket CLI, reachable mutation issue step
- 'pnpm audit signatures' is an npm-only feature; pnpm ignored the word and ran a plain full audit. Replace with an explicit 'pnpm audit --prod --audit-level=critical' (documented rationale) - socket-cli is a 0.0.1 stub on npm; use the real 'socket' CLI and fail loudly instead of silently passing - mutation-nightly's issue-opening step was gated on if: failure(), unreachable under continue-on-error — gate on steps.mutate.outcome - wire the ADR-023 renovate major-bump gate (scripts/library-decisions/check.mjs --renovate-pr) on PRs; verified it no-ops on non-renovate branches Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
6
.github/workflows/mutation-nightly.yml
vendored
6
.github/workflows/mutation-nightly.yml
vendored
@@ -53,6 +53,7 @@ jobs:
|
||||
cache: pnpm
|
||||
- run: pnpm install --frozen-lockfile
|
||||
- name: Run mutation testing
|
||||
id: mutate
|
||||
env:
|
||||
DATABASE_URL: postgres://postgres:postgres@localhost:5432/cms_test
|
||||
PAYLOAD_SECRET: test-secret-do-not-use-in-prod
|
||||
@@ -70,8 +71,11 @@ jobs:
|
||||
name: mutation-reports
|
||||
path: packages/*/reports/mutation/
|
||||
retention-days: 30
|
||||
# `continue-on-error: true` means the JOB never reports failure — gate
|
||||
# the tracking issue on the STEP outcome instead (if: failure() was
|
||||
# unreachable and the issue could never open).
|
||||
- name: Open tracking issue on >5% score drop
|
||||
if: failure()
|
||||
if: steps.mutate.outcome == 'failure'
|
||||
uses: actions/github-script@v7
|
||||
with:
|
||||
script: |
|
||||
|
||||
Reference in New Issue
Block a user