mirror of
https://github.com/ibiqlik/action-yamllint.git
synced 2024-11-23 18:19:33 +01:00
Catch exit code from pipe
This commit is contained in:
parent
e2dcb8c42f
commit
7ba67d50f3
1 changed files with 1 additions and 0 deletions
|
@ -1,5 +1,6 @@
|
||||||
#!/bin/bash -l
|
#!/bin/bash -l
|
||||||
# shellcheck disable=SC2086
|
# shellcheck disable=SC2086
|
||||||
|
set -o pipefail
|
||||||
|
|
||||||
echo "======================"
|
echo "======================"
|
||||||
echo "= Linting YAML files ="
|
echo "= Linting YAML files ="
|
||||||
|
|
Loading…
Reference in a new issue