Skip to content

opt into Node.js 24 for gitleaks-action#29

Merged
idvoretskyi merged 1 commit intomainfrom
copilot/update-gitleaks-action-node-support
Apr 27, 2026
Merged

opt into Node.js 24 for gitleaks-action#29
idvoretskyi merged 1 commit intomainfrom
copilot/update-gitleaks-action-node-support

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 27, 2026

gitleaks/gitleaks-action v2.3.9 (latest) still declares using: "node20" — no Node.js 24-native release exists. GitHub will force Node.js 24 as default on June 2, 2026, and remove Node.js 20 from runners on September 16, 2026.

Changes

  • .github/workflows/ci.yml: adds FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true to the Check for secrets step, opting into Node.js 24 now to surface any compatibility issues ahead of the forced cutover.
- name: Check for secrets
  uses: gitleaks/gitleaks-action@ff98106e4c7b2bc287b24eaf42907196329070c7 # v2
  env:
    GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
    FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true

Once gitleaks ships a release with using: "node24", this env var can be dropped.

…IONS_TO_NODE24

Agent-Logs-Url: https://github.com/idvoretskyi/dev/sessions/e0d71af5-ec92-460e-9e2b-7f6122455fb8

Co-authored-by: idvoretskyi <118459+idvoretskyi@users.noreply.github.com>
@idvoretskyi idvoretskyi marked this pull request as ready for review April 27, 2026 13:18
@idvoretskyi idvoretskyi merged commit 33f1503 into main Apr 27, 2026
7 checks passed
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.

2 participants