Skip to content

Commit 362dc05

Browse files
committed
Ensure that pipelines have a non-zero exit status when a command fails
1 parent 2fac6af commit 362dc05

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tools/ci/github/script

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@
2222

2323
# shellcheck disable=SC2181
2424

25+
# Ensure that the exit status of pipelines is non-zero in the event that at least one of the commands in a pipeline fails:
26+
set -o pipefail
27+
2528

2629
# VARIABLES #
2730

0 commit comments

Comments
 (0)