This PR adds a github workflow to update the versions of nuclei and trufflehog.
Other modules that have set versions are
[ ] ffuf / ffuf_shortnames
[ ] fingerprintx
[ ] gowitness
[ ] httpx
I didn't know if they wanted updating though
It will make a request to the /releases/latest endpoint for the repository to obtain the latest version and store this in an environment variable. It then also grep's the current version out of the module file and compares them. If they do not match it uses sed to replace the version number and then opens a pull request.
I wasn't sure who would be the approve so let me know if it needs changing. Committer and author I have just added Github in there as a placeholder it can be changed to anything.
This PR adds a github workflow to update the versions of nuclei and trufflehog. Other modules that have set versions are
I didn't know if they wanted updating though
It will make a request to the
/releases/latest
endpoint for the repository to obtain the latest version and store this in an environment variable. It then also grep's the current version out of the module file and compares them. If they do not match it usessed
to replace the version number and then opens a pull request.I wasn't sure who would be the approve so let me know if it needs changing. Committer and author I have just added Github in there as a placeholder it can be changed to anything.