Add checkbashisms CI job

(cherry picked from commit 47a7c5123a)
This commit is contained in:
Michal Nowak 2022-08-02 16:56:48 +02:00
parent e30f71f6f1
commit ebdf9336e3
No known key found for this signature in database
GPG key ID: 24A3E8463AEE5E56

View file

@ -516,6 +516,12 @@ danger:
variables:
- $DANGER_GITLAB_API_TOKEN
checkbashisms:
<<: *precheck_job
needs: []
script:
- checkbashisms $(find . -path './.git' -prune -o -type f -exec sh -c 'head -n 1 "{}" | grep -qsF "#!/bin/sh"' \; -print)
tarball-create:
stage: precheck
<<: *base_image