Scan Using Revision or Current Branch #215
Labels
design decision needed
Maintainers must agree on a direction before this is worked on
enhancement
New feature or request
Feature Request
Is your feature request related to a problem? Please describe.
When running tartufo via a GitHub PR Workflow, no commits are scanned due to how actions/checkout checks out the code as detached.
Describe the solution you'd like
If we add
--current-branch
to thescan-local-repo
, we can scan whatever branch is checked out in the workflow.OR
add
--revision SHA1..SHA2
to enable any revision syntax offered by the underlying python git client.Describe alternatives you've considered
git clone ...
Teachability, Documentation, Adoption, Migration Strategy
The text was updated successfully, but these errors were encountered: