From 79757bbcd54ea88448e7b47090cb7e1c6925080f Mon Sep 17 00:00:00 2001 From: Moritz Raabe Date: Mon, 8 Feb 2021 10:42:59 +0100 Subject: [PATCH] thoroughly lint renamed files also --- .github/workflows/tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 06ea89f1..30b7ee70 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -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 .