Skip to content
This repository was archived by the owner on Jul 6, 2026. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 10 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ permissions:
security-events: write
packages: write

# Run Node20-based actions on Node24 (GitHub force-migrates 2026-06-16). Silences the
# deprecation warnings and future-proofs the workflow.
env:
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: "true"

jobs:
secret-scan:
name: Secret Scan (TruffleHog)
Expand All @@ -27,8 +32,11 @@ jobs:
uses: trufflesecurity/trufflehog@main
with:
path: ./
base: ${{ github.event.repository.default_branch }}
head: HEAD
# On a PR: scan the PR diff. On a push/merge to main: scan the pushed range
# (before..after). The previous default-branch/HEAD config made base==head on
# main pushes, so TruffleHog scanned nothing.
base: ${{ github.event.pull_request.base.sha || github.event.before }}
head: ${{ github.event.pull_request.head.sha || github.sha }}
extra_args: --results=verified,unknown

quality:
Expand Down
Loading