SecLists
SecLists copied to clipboard
Fix github action "Wordlist Updater - Awesome list of secrets in environment variables"
If the remote wordlist hasn't actually been updated since the last fetch, the github action will fail because it will try to commit changes, but it will have nothing to commit. For example, look at https://github.com/danielmiessler/SecLists/actions/runs/3162446394/jobs/5149044599
This can be fixed by using git status (or a similar command) to check for changes beforehand, and terminating the action early if there's not changes to commit.