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"