Skip to content

Commit 72126a6

Browse files
hyperpolymathclaude
andcommitted
ci: fix ECHIDNA scheduled red + Secret Scanner startup_failure
- echidna-validation: drop 'isabelle' from apt install — not packaged in Ubuntu 24.04 (noble), so the scheduled echidna-verify job died with apt exit 100 before running anything. validate-with-echidna.sh already SKIPs absent provers, so Isabelle proofs skip instead of blocking. - secret-scanner: grant contents:read + pull-requests:write + actions:read at the calling 'scan' job — the reusable workflow's gitleaks job elevates to these and a called workflow cannot exceed the caller's grant, which produced the startup_failure. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
1 parent 5c6edd3 commit 72126a6

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)