mirror of
https://github.com/vee1e/capa-rules.git
synced 2026-09-01 19:07:15 +00:00
thoroughly lint renamed files also
This commit is contained in:
parent
c22d81c94b
commit
79757bbcd5
1 changed files with 1 additions and 1 deletions
2
.github/workflows/tests.yml
vendored
2
.github/workflows/tests.yml
vendored
|
|
@ -40,7 +40,7 @@ jobs:
|
|||
- name: Run thorough lint on modified rule files
|
||||
run: |
|
||||
cd rules/
|
||||
for changed_file in ${{ steps.files.outputs.added_modified }}; do
|
||||
for changed_file in ${{ steps.files.outputs.added_modified }} ${{ steps.files.outputs.renamed }}; do
|
||||
if [[ ! $changed_file =~ ".git" ]]; then
|
||||
tag=$(grep 'name:' $changed_file | sed 's/^.*: //')
|
||||
python ../scripts/lint.py --thorough -t "$tag" -v .
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue