Skip to content

Commit 79c280f

Browse files
ci: fix ECHIDNA scheduled red + Secret Scanner startup_failure (#159)
Phase 0 (ops hygiene) of the production-gap plan. ## What 1. **ECHIDNA Validation** — the scheduled `echidna-verify` job failed 2026-07-06 with apt exit 100: `isabelle` is not packaged in Ubuntu 24.04 (noble). Dropped it from the apt install; `scripts/validate-with-echidna.sh` already reports SKIP for absent provers, so Isabelle proofs skip instead of killing the pipeline. (Push-triggered runs never hit this job — it is schedule/dispatch-only — which is why main otherwise looked green.) 2. **Secret Scanner** — `startup_failure` on main: the reusable gitleaks workflow elevates to `pull-requests: write` + `actions: read`, and a called workflow cannot exceed the caller's grant. Granted those at the calling `scan` job (the known estate-wide wrapper-permissions class; same fix proven green elsewhere). ## Verification - Secret Scanner will prove itself on this PR's own checks. - ECHIDNA `echidna-verify` is schedule/dispatch-only; I will trigger a `workflow_dispatch` run after merge to confirm. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
1 parent 5c6edd3 commit 79c280f

2 files changed

Lines changed: 11 additions & 1 deletion

File tree

.github/workflows/echidna-validation.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,14 +51,17 @@ jobs:
5151
echo "/tmp/echidna/target/release" >> $GITHUB_PATH
5252
5353
- name: Install proof provers
54+
# `isabelle` is not packaged in Ubuntu 24.04 (noble); requesting it
55+
# fails the whole job with apt exit 100. validate-with-echidna.sh
56+
# reports SKIP for absent provers, so Isabelle proofs are skipped
57+
# rather than blocking the pipeline.
5458
run: |
5559
set -euo pipefail
5660
sudo apt-get update
5761
sudo apt-get install -y --no-install-recommends \
5862
lean \
5963
coq \
6064
agda \
61-
isabelle \
6265
z3
6366
6467
- name: Verify ECHIDNA available

.github/workflows/secret-scanner.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,13 @@ permissions:
1111
contents: read
1212
jobs:
1313
scan:
14+
# The reusable workflow's gitleaks job elevates to these permissions;
15+
# a called workflow cannot exceed the caller's grant, so they must be
16+
# granted here or the run dies with startup_failure.
17+
permissions:
18+
contents: read
19+
pull-requests: write
20+
actions: read
1421
uses: hyperpolymath/standards/.github/workflows/secret-scanner-reusable.yml@d135b05bfc647d0c0fbfedc7e80f37ea50f49236
1522
secrets: inherit
1623
trufflehog:

0 commit comments

Comments
 (0)