Skip to content

Commit

Permalink
Create checkPullRequestTitle.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreasBrostrom authored Nov 6, 2023
1 parent eed34a5 commit c8ef32a
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions tools/checkPullRequestTitle.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/bin/bash

_throw() {
echo "Pull Request: Bad name"
exit 1
}
string="$*"
if [[ ${#string} -lt 20 ]]; then _throw; fi


exit 0

0 comments on commit c8ef32a

Please sign in to comment.