Skip to content

Commit

Permalink
Debug description
Browse files Browse the repository at this point in the history
  • Loading branch information
Ben Sarmiento committed Nov 30, 2023
1 parent 2d4ad67 commit 6eed828
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/jira-copy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ jobs:
if: github.actor != 'dependabot[bot]' && github.actor != 'dependabot-preview[bot]'
run: |
DESCRIPTION=$(jq -r .pull_request.body "$GITHUB_EVENT_PATH")
echo "Pull Request Description: $DESCRIPTION"
if [[ ! $DESCRIPTION =~ ((?<!([A-Z]{1,10})-?)[A-Z]+\d?-\d+) ]]; then
echo "Must include JIRA ticket"
exit 1
Expand Down

0 comments on commit 6eed828

Please sign in to comment.