Skip to content

Trufflehog scan fails when action is in initial commit  #3557

Open
@bobidle

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

  1. Create an empty repository
  2. Clone the repository locally
  3. Create folder .github/workflows and file .github/workflows/trufflehog.yaml
  4. Add the general usage example to the file https://github.com/trufflesecurity/trufflehog?tab=readme-ov-file#general-usage
  5. git add ... & git commit ... & git push
  6. Check result of GitHub action.

Environment

  • GitHub workflow with ubuntu-latest

References

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions