Stage the nuclei sync with a pathspec git accepts

git would not expand [12][0-9][0-9][0-9] as a pathspec, so the job did its
work and then died on the commit. Everything it touches is already tracked
apart from nuclei.json, so stage tracked changes and name that one file.
This commit is contained in:
0xMarcio committed 2026-09-01 05:12:57 +02:00
1 parent 35cb1e6962
commit ff11c84652
1 file changed
+2 -1
+2 -1
View File
@@ -31,7 +31,8 @@ jobs:
run: |
git config user.name 'CVE-BOT'
git config user.email '[email protected]'
git add -- nuclei.json '[12][0-9][0-9][0-9]'
git add -u
git add -- nuclei.json
if git diff --cached --quiet; then
echo "No changes to commit"
exit 0