It would be nice with automatic warnings about if the repo contains potential secrets.
E.g:
- PyPi tokens in requirements.txt
- Anywhere that has
password='some text string' or {'password': 'some text string'}
- etc.
A user should be able to overrule the warning, but should actively do so. One solution could be that the action comments the line on which there is a potential secret. This comment needs to be resolved to merge the pull request.
FYI @george-zubrienko @s-vitaliy