Skip to content

Ci/gitleaks self hosted fix - #393

Merged
hyperpolymath merged 4 commits into
mainfrom
ci/gitleaks-self-hosted-fix
Jun 21, 2026
Merged

Ci/gitleaks self hosted fix#393
hyperpolymath merged 4 commits into
mainfrom
ci/gitleaks-self-hosted-fix

Conversation

@hyperpolymath

Copy link
Copy Markdown
Owner

No description provided.

@hyperpolymath
hyperpolymath enabled auto-merge (squash) June 21, 2026 00:07
@hyperpolymath
hyperpolymath disabled auto-merge June 21, 2026 00:08
@hyperpolymath
hyperpolymath merged commit 5a93d9d into main Jun 21, 2026
12 of 14 checks passed
@hyperpolymath
hyperpolymath deleted the ci/gitleaks-self-hosted-fix branch June 21, 2026 00:09
hyperpolymath added a commit that referenced this pull request Jun 24, 2026
#393 cut governance-reusable.yml from 9 jobs to 2; branch-protection
still requires the named `governance / *` contexts -> estate-wide
phantom deadlock. Restores the 8 governance jobs (recovered from
5a93d9d~1), keeps the newer staleness/hypatia jobs, bumps stale checkout
pins to v7.0.0. actionlint clean (exit 0). Re-emitting these
already-required contexts can only unblock compliant repos and surface
genuine drift on non-compliant ones.
hyperpolymath added a commit that referenced this pull request Aug 26, 2026
… detection is currently OFF) (#642)

## What happened

Commit `5a93d9d5` — PR #393, *"Ci/gitleaks self hosted fix"*, 2026-06-21
— deleted the SARIF output and its upload step from this workflow **as
collateral of an unrelated gitleaks refactor**. 93 lines removed from
this file, in a commit about something else.

Since then Scorecard has emitted `results_format: json` only. JSON feeds
the public OpenSSF API and the badge; **SARIF is what feeds GitHub code
scanning.** So:

- ✅ the badge kept updating — which is exactly why nobody noticed
- ❌ the Security tab has heard nothing for **~3 months**

## Measured, 2026-08-25

| | |
|---|---|
| Scorecard alerts in this repo | **all 12 frozen** at commit
`3e57141d`, `updated_at` **2026-06-03** |
| Hypatia alerts, same repo, for contrast | updated **2026-08-24** |
| `scorecard.yml` runs since | **succeeded** 08-07 and 08-09, produced
nothing |

A comment left behind in the file still claimed `security-events: write`
*"uploads the SARIF"*. That has been false since June, and it is why the
breakage looked like correct configuration.

## The part that actually matters

The stale alerts are cosmetic. **The real cost is that a genuinely new
regression in pinned-dependencies, token-permissions or SAST would raise
no alert at all.** Detection is off, not just untidy.

## Why this doesn't cost you the badge

`publish_results` is **independent of `results_format`** — it publishes
to the OpenSSF API either way. Switching the format back to SARIF keeps
the badge *and* restores code scanning. Both outputs are live with this
shape.

## Sequencing note

Merge this **before** dismissing the 12 stale alerts. Once SARIF flows
again, Scorecard re-reports and GitHub **auto-closes** the ones that are
genuinely fixed — and at least 6 of the 12 are (5 fixed in code, 1
pointing at a file the avow-protocol eviction deleted). Better to let
the machine close them correctly than to hand-dismiss things that aren't
false positives.

## Lockfile

Added the `codeql-action` entry for this workflow. Without it the
workflow dies at 0s — a separate estate fault this change must not walk
into.

## Estate-wide

Memory records **545 frozen Scorecard alerts gating 106 repos**. This
fixes the source for `standards`; the same deletion likely needs
reverting wherever the reusable was copied rather than called.

**Not self-merging** — this restores a security-detection capability and
is your call.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant