Skip to content

Scope Gitleaks to pull request commits and add a security template - #6

Merged
PavlosIsaris merged 1 commit into
mainfrom
security-v0.1.3
Sep 30, 2026
Merged

PavlosIsaris merged 1 commit into
mainfrom
security-v0.1.3

Conversation

@PavlosIsaris

Copy link
Copy Markdown
Contributor

Gitleaks

  • On pull_request, Gitleaks now scans only the pull request's commits (base.sha..head.sha). An old finding on main no longer fails every unrelated pull request.
  • Push and schedule runs still scan the full history, so the weekly run finds a secret that reached main without a pull request.
  • New input gitleaks-full-history: true restores the full scan on pull requests.
  • The guide documents .gitleaksignore for false positives, and says to rotate a real secret first.

Other

  • New input npm-min-release-age, passed to verify-npm-hardening as min-age.
  • New SciFY Security workflow template with all 8 inputs, their defaults and example values.

Release plan after merge: tag v0.1.3 and move v0.1 to it.

- security.yml: on pull_request, Gitleaks scans only the pull request's
  commits; push and schedule runs scan the full history. New inputs
  gitleaks-full-history and npm-min-release-age
- Document .gitleaksignore for accepted findings
- New SciFY Security workflow template with every input
@PavlosIsaris
PavlosIsaris merged commit 67fa468 into main Sep 30, 2026
28 checks passed
@PavlosIsaris
PavlosIsaris deleted the security-v0.1.3 branch September 30, 2026 12:58
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