mirror of
https://github.com/cpina/github-action-push-to-another-repository.git
synced 2025-01-10 00:59:01 -07:00
13 lines
248 B
Bash
Executable File
13 lines
248 B
Bash
Executable File
#!/bin/sh
|
|
# shellcheck disable=SC2044
|
|
|
|
set -eu pipefile
|
|
|
|
rc=0
|
|
for filename in $(find ./* -name '*.sh'); do
|
|
echo "Start to validating ${filename}"
|
|
shellcheck "${filename}" || exit $?
|
|
echo "🚀Successfully Validated ${filename}"
|
|
done
|
|
|
|
exit $rc |