Skip to content

Commit

Permalink
Merge pull request #1743 from jrha/panlint
Browse files Browse the repository at this point in the history
CI: panlint: Allow maven templates as first line
  • Loading branch information
wpoely86 authored Nov 25, 2024
2 parents e31996a + 41fd1c8 commit f9a9f0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .ci-scripts/panlint
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ rm -f /tmp/panlint.py
wget -q https://raw.githubusercontent.com/quattor/pan/master/panc/src/main/scripts/panlint/panlint.py -O /tmp/panlint.py
chmod u+x /tmp/panlint.py

git diff --name-only --diff-filter=d HEAD^ | grep '\.pan$' | xargs -r /tmp/panlint.py || exit 1
git diff --name-only --diff-filter=d HEAD^ | grep '\.pan$' | xargs -r /tmp/panlint.py --allow_mvn_templates || exit 1

0 comments on commit f9a9f0f

Please sign in to comment.