Skip to content

Commit

Permalink
add set -eu -o pipefail to read-action-input
Browse files Browse the repository at this point in the history
  • Loading branch information
NgoKimPhu authored Mar 29, 2024
1 parent 97ad4fc commit 6159d72
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions read-action-input
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#!/usr/bin/env bash
# helper script for printing kebab-cased env vars.
# e.g., "foo-bar" -> "INPUT_FOO-BAR".
set -eu -o pipefail

arg=INPUT_${1^^}
while IFS= read -r -d '' var; do
Expand Down

0 comments on commit 6159d72

Please sign in to comment.