fix: update shellcheck script to exclude Containerfile instead of Dockerfile
Some checks failed
Build and push / build_and_push (map[name:vaultwarden-backup path:vaultwarden-backup]) (push) Failing after 4s
Build and push / build_and_push (map[name:metabase path:metabase]) (push) Failing after 5s
Build and push / check and test (push) Successful in 7s
Build and push / build_and_push (map[name:postgres-backup path:postgres-backup]) (push) Failing after 5s
Build and push / build_and_push (map[name:pyweb path:pyweb]) (push) Failing after 5s
Build and push / build_and_push (map[name:shellcheck path:shellcheck]) (push) Failing after 4s
Some checks failed
Build and push / build_and_push (map[name:vaultwarden-backup path:vaultwarden-backup]) (push) Failing after 4s
Build and push / build_and_push (map[name:metabase path:metabase]) (push) Failing after 5s
Build and push / check and test (push) Successful in 7s
Build and push / build_and_push (map[name:postgres-backup path:postgres-backup]) (push) Failing after 5s
Build and push / build_and_push (map[name:pyweb path:pyweb]) (push) Failing after 5s
Build and push / build_and_push (map[name:shellcheck path:shellcheck]) (push) Failing after 4s
Signed-off-by: Uwe Hermann <uh@uleenucks.de>
This commit is contained in:
@@ -5,7 +5,7 @@ set -o pipefail
|
|||||||
ERRORS=()
|
ERRORS=()
|
||||||
|
|
||||||
# find all executables and run `shellcheck`
|
# find all executables and run `shellcheck`
|
||||||
for f in $(find . -type f -not -iwholename '*.git*' -not -name "Dockerfile" | sort -u); do
|
for f in $(find . -type f -not -iwholename '*.git*' -not -name "Containerfile" | sort -u); do
|
||||||
if file "$f" | grep --quiet shell; then
|
if file "$f" | grep --quiet shell; then
|
||||||
{
|
{
|
||||||
shellcheck "$f" && echo "[OK]: sucessfully linted $f"
|
shellcheck "$f" && echo "[OK]: sucessfully linted $f"
|
||||||
|
|||||||
Reference in New Issue
Block a user