Yellow Theme

Next start · October 2026

Notes / 10

2026-09-13

The action tag fails before it scans

The homepage excerpt pins gitleaks/gitleaks-action@v2 as the secret scan. We copied that tag into the required job of a public sample. The sample lives in an organization repository, not a personal account. The job failed before it opened a file.

Thesis: That action wants a license secret on an organization account. A personal account does not. A red run that means "no license" is not evidence of a secret scan. The required check is the open-source CLI on the application tree. The action stays in the file and runs only when the license secret is set.

What we tried first

The excerpt is three lines. We copied the action tag into the required job so the sample would match what a visitor sees on the homepage. The organization account has no license secret. The job failed closed on the license, not on a leaked key. An assessor who opened that run would see a setup failure and no scan of the tree.

The working shape

The required step installs the CLI and scans the application tree. No license. The action tag stays in the file, and the step is skipped unless the license secret is present. If you use the action, pin the commit SHA, not the moving tag.

organization + action tag, no license → fail before scan
required job → CLI on the app tree
action tag → only when the license secret is set

Checklist

Related: the example key does not fail the scan. The workflow is in the public sample. How we deliver: methodology.

Engineering commentary only — not audit, legal, or certification advice.