You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
JordoHeffernan
changed the title
Change language detection action to only run against committed code
Change language detection on commit to only run against committed code
Feb 13, 2024
secureli-436
<!-- Include general description here -->
closes#436
Adds focused language detection during scan for specified or committed
files
## Changes
<!-- A detailed list of changes -->
* Limiting language detection to a specified set of files during scan
(unless all files is provided)
* Adding the usage of git.Repo to check the commit file diff
## Testing
<!--
Mention updated tests and any manual testing performed.
Are aspects not yet tested or not easily testable?
Feel free to include screenshots if appropriate.
-->
* Verify that language detection can be run on either specified or
committed files during scan
## Clean Code Checklist
<!-- This is here to support you. Some/most checkboxes may not apply to
your change -->
- [x] Meets acceptance criteria for issue
- [x] New logic is covered with automated tests
- [x] Appropriate exception handling added
- [x] Thoughtful logging included
- [x] Documentation is updated
- [x] Follow-up work is documented in TODOs
- [x] TODOs have a ticket associated with them
- [x] No commented-out code included
<!--
Github-flavored markdown reference:
https://docs.github.com/en/get-started/writing-on-github
-->
---------
Co-authored-by: Jordan Heffernan <[email protected]>
As a secureli user I don't want language detection to run agains my entire codebase on every commit
AC
The text was updated successfully, but these errors were encountered: