·
4 commits
to master
since this release
Immutable
release. Only release title and notes can be modified.
What's changed
gitleaks-action v3 migrates the runtime from Node 20 to Node 24. No changes to inputs, outputs, or behavior. Update your workflow from gitleaks/gitleaks-action@v2 to gitleaks/gitleaks-action@v3.
Migration
# Before
- uses: gitleaks/gitleaks-action@v2
# After
- uses: gitleaks/gitleaks-action@v3Why
GitHub is deprecating the Node 20 runtime for Actions:
- June 2, 2026: GitHub flips the runner default to Node 24. Workflows using
gitleaks-action@v2(Node 20) will still run, but only ifACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=trueis set as an environment variable. - September 16, 2026: Node 20 is removed from GitHub-hosted runners entirely.
gitleaks-action@v2stops working regardless of any opt-out flag.
Changes
action.yml: runtimenode20→node24@actions/core: 1.10.0 → 1.11.1dist/rebuilt- Example workflows updated to
actions/checkout@v6andgitleaks-action@v3 - README updated with v3 migration guide
Self-hosted runners
If you use self-hosted runners, ensure your runner version is >= v2.327.1 (required for Node 24 support).