Skip to content

Commit c9ea967

Browse files
NIFI-15794 Corrected synax of single commit check
1 parent a3d021d commit c9ea967

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/scripts/build/validate-single-commit.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ set -e
2121

2222
if [ "${COMMIT_COUNT}" -eq 1 ]; then
2323
echo "Pull request contains a single commit"
24-
else if [ "${GITHUB_EVENT_ACTION}" == "opened" ]; then
24+
elif [ "${GITHUB_EVENT_ACTION}" == "opened" ]; then
2525
echo "::error::Pull request contains ${COMMIT_COUNT} commits. Squash commits into a single commit for initial review."
2626
exit 1
2727
fi

0 commit comments

Comments
 (0)