SecLists icon indicating copy to clipboard operation
SecLists copied to clipboard

Fix github action "Wordlist Updater - Awesome list of secrets in environment variables"

Open ItsIgnacioPortal opened this issue 2 years ago • 0 comments

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.

ItsIgnacioPortal avatar Oct 01 '22 02:10 ItsIgnacioPortal