CI parity: gitleaks scan and run on main #138

Stängd
öppnade 2026-10-08 21:12:35 +00:00 av supernaut · 0 kommentarer
Ägare

What

ci.yml has no secret scan and runs on pull_request only. The other repos scan history and also run on push: main.

Why

Automerged dev-dependency and lock-file PRs can break the merged result unseen. Docs hold operational detail.

Failing case

A secret in an earlier commit passes CI.

Fix

Add gitleaks git --redact --no-banner . with fetch-depth: 0. Add push: branches: [main].

Done when

  • Both present in ci.yml
  • ci stays green
## What `ci.yml` has no secret scan and runs on `pull_request` only. The other repos scan history and also run on `push: main`. ## Why Automerged dev-dependency and lock-file PRs can break the merged result unseen. Docs hold operational detail. ## Failing case A secret in an earlier commit passes CI. ## Fix Add `gitleaks git --redact --no-banner .` with `fetch-depth: 0`. Add `push: branches: [main]`. ## Done when - [ ] Both present in ci.yml - [ ] `ci` stays green
supernaut lade till detta till projektet Bitborg Docs 2026-10-08 21:14:34 +00:00
Logga in för att delta i denna konversation.
Ingen milstolpe
Inget projekt
Inga tilldelade
1 deltagare
Notiser
Förfallodatum
Förfallodatumet är ogiltigt eller utanför gränserna. Använd formatet "åååå-mm-dd".

Inget förfallodatum satt.

Beroenden

Inga beroenden satta

Referens
bitborg/bitborg-docs#138
Ingen beskrivning angiven.