Skip to content

Commit

Permalink
Slurp the whole description
Browse files Browse the repository at this point in the history
  • Loading branch information
Ben Sarmiento committed Nov 30, 2023
1 parent 12cbad6 commit 848a00c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/jira.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
run: |
DESCRIPTION=$(jq -r .pull_request.body "$GITHUB_EVENT_PATH")
echo "Pull Request Description: $DESCRIPTION"
if ! echo "$DESCRIPTION" | perl -ne 'exit 1 if not /[A-Z]{1,10}\d*\-\d*/'
if ! echo "$DESCRIPTION" | perl -0777 -ne 'exit 1 if not /[A-Z]{1,10}\d*\-\d+/'
then
echo "Must include JIRA ticket"
exit 1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/jira-copy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
run: |
DESCRIPTION=$(jq -r .pull_request.body "$GITHUB_EVENT_PATH")
echo "Pull Request Description: $DESCRIPTION"
if ! echo "$DESCRIPTION" | perl -ne 'exit 1 if not /[A-Z]{1,10}\d*\-\d*/'
if ! echo "$DESCRIPTION" | perl -0777 -ne 'exit 1 if not /[A-Z]{1,10}\d*\-\d+/'
then
echo "Must include JIRA ticket"
exit 1
Expand Down

0 comments on commit 848a00c

Please sign in to comment.