Skip to content

Commit

Permalink
Update CI test checkPullRequestTitle.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreasBrostrom authored Nov 7, 2023
1 parent d45464c commit 818d273
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tools/checkPullRequestTitle.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ string="$*"
echo "Validating '$string'..."
if [[ ${#string} == 0 ]]; then echo "SUCCESS (Empty name)"; exit 0; fi

if [[ ${#string} -lt 20 ]]; then _throw "Short name"; fi
if [[ $string == "Update cba_settings.sqf" ]]; then _throw "Sad name"; fi
if [[ $string == "Update settings" ]]; then _throw "Sad name"; fi
if [[ ${#string} -lt 20 ]]; then _throw "short name"; fi
if [[ $string == "Update cba_settings.sqf" ]]; then _throw "bad name"; fi
if [[ $string == "Update settings" ]]; then _throw "bad name"; fi

# Descriptor
if [[ $string != *"Added"* ]]; then
Expand All @@ -34,4 +34,4 @@ if [[ $string != *"Added"* ]]; then
fi

echo "SUCCESS"
exit 0
exit 0

0 comments on commit 818d273

Please sign in to comment.