Skip to content
Merged
Show file tree
Hide file tree
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
16 changes: 14 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,13 @@ jobs:
env:
QUALITY_BASE_SHA: ${{ github.event.pull_request.base.sha || github.event.merge_group.base_sha || github.event.before }}
QUALITY_HEAD_SHA: ${{ github.event.pull_request.head.sha || github.sha }}
run: node scripts/resolve-quality-range.mjs >> "$GITHUB_OUTPUT"
# A branch-creating push delivers the zero SHA as its before-pointer; the fallback ref
# bounds the range at the merge-base with dev so EVERY commit introduced by the branch
# creation is scanned (fetch-depth 0 clones only the triggering ref, hence the fetch).
QUALITY_FALLBACK_BASE_REF: origin/dev
run: |
git fetch --no-tags --quiet origin dev
node scripts/resolve-quality-range.mjs >> "$GITHUB_OUTPUT"
- name: Reject semantic clone groups introduced by this change
env:
QUALITY_BASE_SHA: ${{ steps.quality-range.outputs.base }}
Expand Down Expand Up @@ -188,7 +194,13 @@ jobs:
env:
QUALITY_BASE_SHA: ${{ github.event.pull_request.base.sha || github.event.merge_group.base_sha || github.event.before }}
QUALITY_HEAD_SHA: ${{ github.event.pull_request.head.sha || github.sha }}
run: node scripts/resolve-quality-range.mjs >> "$GITHUB_OUTPUT"
# A branch-creating push delivers the zero SHA as its before-pointer; the fallback ref
# bounds the range at the merge-base with dev so EVERY commit introduced by the branch
# creation is scanned (fetch-depth 0 clones only the triggering ref, hence the fetch).
QUALITY_FALLBACK_BASE_REF: origin/dev
run: |
git fetch --no-tags --quiet origin dev
node scripts/resolve-quality-range.mjs >> "$GITHUB_OUTPUT"
- name: Reject secrets introduced anywhere in the pull-request history
env:
QUALITY_BASE_SHA: ${{ steps.quality-range.outputs.base }}
Expand Down
10 changes: 5 additions & 5 deletions .github/zizmor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,12 @@ rules:
# before removal: `zizmor` reports zero cache-poisoning findings for the pre-#2704 ci.yml with
# no ignore list at all.
# USearch runtime: coverage-packages, coverage-ui, coverage-scripts
- ci.yml:416
- ci.yml:506
- ci.yml:572
- ci.yml:428
- ci.yml:518
- ci.yml:584
# coverage-sonar: npm download cache (the one job that saves it), Sonar Scanner CLI archive
- ci.yml:651
- ci.yml:737
- ci.yml:663
- ci.yml:749
dangerous-triggers:
ignore:
# ADR-0161: the infrastructure-signature observer must see runs that have already completed, and
Expand Down
Loading
Loading