From 027b18945a84023dac91ab86dfa1417947d817be Mon Sep 17 00:00:00 2001 From: Mauritz Uphoff Date: Tue, 14 Apr 2026 15:46:27 +0200 Subject: [PATCH] chore(ci): fix trufflehog scan Signed-off-by: Mauritz Uphoff --- .github/pull_request_template.md | 1 - .github/workflows/default-ci.yaml | 9 +++++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index fde7957..b92e0ff 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -4,5 +4,4 @@ ## Checklist -- [ ] The `README.md` has been updated accordingly. - [ ] The CI pipeline passed successfully. diff --git a/.github/workflows/default-ci.yaml b/.github/workflows/default-ci.yaml index c49b519..dfaca5d 100644 --- a/.github/workflows/default-ci.yaml +++ b/.github/workflows/default-ci.yaml @@ -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" -- 2.49.1