mirror of
https://github.com/0xMarcio/cve.git
synced 2026-10-27 16:51:03 +00:00
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:
1 parent
35cb1e6962
commit
ff11c84652
1 file changed
+2
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user