Skip to content

Commit

Permalink
Update and rename prIssueChecker.yml to PRValidator.yml and some othe…
Browse files Browse the repository at this point in the history
…r changes
  • Loading branch information
ygowthamr authored Oct 17, 2024
1 parent 0222a75 commit 53b9763
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@ on:

jobs:
validate-pr-description:
runs-on: ubuntu-latest
steps:
- name: Check if PR description exists
- name: Validate PR Description
id: check_description
run: |
if [ -z "${{ github.event.pull_request.body }}" ]; then
Expand All @@ -22,4 +23,4 @@ jobs:
if [[ ! "$description" =~ (Fixes #[0-9]+|Fixes #NEW) ]]; then
echo "::error::PR description must contain an issue number or 'Fixes #NEW'"
exit 1
fi
fi

0 comments on commit 53b9763

Please sign in to comment.