Skip to content

added gitleaks workflow - #536

Open
0xcucumbersalad wants to merge 1 commit into
mainfrom
add/sast-workflow
Open

added gitleaks workflow#536
0xcucumbersalad wants to merge 1 commit into
mainfrom
add/sast-workflow

Conversation

@0xcucumbersalad

@0xcucumbersalad 0xcucumbersalad commented Aug 14, 2026

Copy link
Copy Markdown
Contributor

added gitleaks workflow


Summary by cubic

Adds a GitHub Actions SAST workflow that runs Gitleaks on all pull requests and pushes to main to prevent secret leaks. The new behavior fails the check when secrets are detected, including rotated-but-committed secrets due to full-history scans.

Rollout notes

  • Triggers on pull_request and push to main; 10-minute job timeout.
  • Uses pinned actions/checkout (with fetch-depth: 0) and pinned gitleaks/gitleaks-action.
  • Minimal permissions; includes pull-requests: read so PR-range scanning works.
  • Concurrency cancels in-progress runs for the same ref.
  • Required: Add a GITLEAKS_LICENSE secret for organization-owned repos (not needed for personal or public repos).

Written for commit 006e3cd. Summary will update on new commits.

Review in cubic

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant