Skip to content

Commit

Permalink
update-required-checks.sh: fix argument handling
Browse files Browse the repository at this point in the history
  • Loading branch information
cklin committed Dec 7, 2022
1 parent 79166d0 commit 8bebf77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/script/update-required-checks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ fi

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

0 comments on commit 8bebf77

Please sign in to comment.