mirror of
https://github.com/danielmiessler/SecLists.git
synced 2026-07-20 13:54:45 +00:00
Update wordlist-validator_verify_entries_for_starting_with_slash.yml
This commit is contained in:
committed by
GitHub
parent
5a9dcad637
commit
08ef31d5d2
@@ -26,16 +26,4 @@ jobs:
|
||||
uses: tj-actions/changed-files@v34
|
||||
- name: Analyze all added or modified files
|
||||
run: |
|
||||
work_file="/tmp/work.tmp"
|
||||
echo "[+] Modified files:"
|
||||
echo ${{ steps.changed-files.outputs.all_changed_files }}
|
||||
for modified_file in ${{ steps.changed-files.outputs.all_changed_files }}
|
||||
do
|
||||
echo "[+] Check $modified_file ..."
|
||||
rm $work_file 2>/dev/null
|
||||
grep -E '^/[a-zA-Z0-9\._]+' $modified_file > $work_file
|
||||
if [ -s $work_file ]
|
||||
then
|
||||
echo "::warning file=$modified_file,line=1,col=1,endColumn=1::Has entries starting with a slash."
|
||||
fi
|
||||
done
|
||||
for modified_file in ${{ steps.changed-files.outputs.all_changed_files }} ; do bash ./.bin/check-file-for starting-slash "$modified_file" done
|
||||
|
||||
Reference in New Issue
Block a user