Skip to content

Commit 8bebf77

Browse files
committed
update-required-checks.sh: fix argument handling
1 parent 79166d0 commit 8bebf77

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/script/update-required-checks.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ fi
1010

1111
if [ "$#" -eq 1 ]; then
1212
# If we were passed an argument, use that as the SHA
13-
GITHUB_SHA="$0"
13+
GITHUB_SHA="$1"
1414
elif [ "$#" -gt 1 ]; then
1515
echo "Usage: $0 [SHA]"
1616
echo "Update the required checks based on the SHA, or main."

0 commit comments

Comments
 (0)