chore(ci): fix trufflehog scan #1

Merged
mauritz.uphoff merged 1 commit from ci/fix-trufflehog-scan into main 2026-04-14 14:33:27 +00:00
2 changed files with 7 additions and 3 deletions

View file

@ -4,5 +4,4 @@
## Checklist
- [ ] The `README.md` has been updated accordingly.
- [ ] The CI pipeline passed successfully.

View file

@ -14,8 +14,13 @@ jobs:
- name: Checkout code
uses: actions/checkout@v6
- name: trufflehog-actions-scan
uses: ${{ github.server_url == 'https://github.com' && 'edplato/trufflehog-actions-scan@master' || 'https://github.com/edplato/trufflehog-actions-scan@master' }}
- name: TruffleHog Scan (GitHub)
if: github.server_url == 'https://github.com'
uses: edplato/trufflehog-actions-scan@master
- name: TruffleHog Scan (managed git)
if: github.server_url != 'https://github.com'
uses: https://github.com/edplato/trufflehog-actions-scan@master
pre-commit-checks:
name: "Pre-Commit Hooks"