diff --git a/playbooks/lint.yml b/playbooks/lint.yml index 737e16aa2..5bddf845c 100644 --- a/playbooks/lint.yml +++ b/playbooks/lint.yml @@ -38,7 +38,7 @@ when: lint_osh is defined - name: Prevent trailing whitespaces - shell: find . \! \( -path "*/\.*" -o -path "*/doc/build/*" -o -name "*.tgz" -o -name "*.png" \) -type f -exec egrep -l " +$" {} \; + shell: find . \! \( -path "*/\.*" -o -path "*/doc/build/*" -o -name "*.tgz" -o -name "*.png" -o -name "*.jpg" \) -type f -exec grep -El " +$" {} \; register: _found_whitespaces failed_when: _found_whitespaces.stdout != "" args: diff --git a/zuul.d/jobs.yaml b/zuul.d/jobs.yaml index cb3f59455..532187d4e 100644 --- a/zuul.d/jobs.yaml +++ b/zuul.d/jobs.yaml @@ -22,7 +22,6 @@ - openstack/openstack-helm-infra irrelevant-files: - ^.*\.rst$ - - ^doc/.*$ - ^releasenotes/.*$ - job: