Limit filename size to GitGuardian API
What does this MR do and why?
In Gitlab::GitGuardian::Client
- Makes a class constant
FILENAME_LIMIT
- Makes a private method
limit_filename
to shorten the string from the start of the string because we need the file extension for policies.
For more context: &11494 (comment 1772665324)
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
Related to #442188 (closed)