feat(webhook): Allow to customize webhook protocol, when exposed under custom Host
#943
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Leaked Secrets Scan | |
on: | |
pull_request: | |
push: | |
branches: | |
- develop | |
- main | |
- "[0-9]+.[0-9]+.x" | |
workflow_dispatch: | |
jobs: | |
trufflehog: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- if: github.ref_name != 'main' | |
uses: trufflesecurity/trufflehog@main | |
with: | |
path: ./ | |
base: ${{ github.event.repository.default_branch }} | |
head: HEAD | |
extra_args: --debug --only-verified | |
- if: github.ref_name == 'main' | |
uses: trufflesecurity/trufflehog@main | |
with: | |
path: ./ | |
extra_args: --debug --only-verified |