Trufflehog scan fails when action is in initial commit #3557
Open
Description
TruffleHog Version
Running the latest version of TruffleHog via uses: trufflesecurity/trufflehog@main
Trace Output
https://gist.github.com/bobidle/901838a7c777cf91f374db8b51e69938
Expected Behavior
TruffleHog should scan the initial commit..
Actual Behavior
Process completed with exit code 128
Steps to Reproduce
- Create an empty repository
- Clone the repository locally
- Create folder
.github/workflows
and file.github/workflows/trufflehog.yaml
- Add the general usage example to the file https://github.com/trufflesecurity/trufflehog?tab=readme-ov-file#general-usage
git add ...
&git commit ...
&git push
- Check result of GitHub action.
Environment
- GitHub workflow with
ubuntu-latest