fix(ci): download gitleaks and kubectl for the runner architecture #11

Merged
crapougnax merged 1 commit from fix/ci-runner-architecture into develop 2026-11-14 15:36:58 +00:00
Member

Problem

The CI workflow downloads the amd64 builds of gitleaks and kubectl. On an arm64 runner the secret scan fails with Exec format error, so every run is red (runs 12, 13 and 14).

Change

Both steps read uname -m and download the matching build (x64/arm64 for gitleaks, amd64/arm64 for kubectl). Any other architecture stops the job with a message.

Versions are unchanged.

Closes #10

🤖 Generated with Claude Code

## Problem The `CI` workflow downloads the amd64 builds of gitleaks and kubectl. On an arm64 runner the secret scan fails with `Exec format error`, so every run is red (runs 12, 13 and 14). ## Change Both steps read `uname -m` and download the matching build (`x64`/`arm64` for gitleaks, `amd64`/`arm64` for kubectl). Any other architecture stops the job with a message. Versions are unchanged. Closes #10 🤖 Generated with [Claude Code](https://claude.com/claude-code)
fix(ci): download gitleaks and kubectl for the runner architecture
All checks were successful
CI / CI (pull_request) Successful in 27s
31641b1282
The CI fetched the x64 build of gitleaks and the amd64 build of kubectl
whatever the runner. On arm64 runners the secret scan stopped with
'cannot execute binary file: Exec format error'.

Both downloads now follow the architecture reported by uname, and an
unknown architecture fails with an explicit message.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
crapougnax merged commit 678e4808a1 into develop 2026-11-14 15:36:58 +00:00
crapougnax deleted branch fix/ci-runner-architecture 2026-11-14 15:36:58 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
tycho/catalog!11
No description provided.