Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ayushidianapps authored Apr 12, 2024
1 parent 58f3eed commit 7205088
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,6 @@ jobs:
steps:
- uses: actions/checkout@v3 # Checkout the repository code

- name: Check PR Title format
run: |
title=${{ github.event.pull_request.title }}
title_regex=/^[A-Za-z0-9]+: .+/
if [[ ! $title =~ $title_regex ]]; then
echo "❌ Pull Request title must be an alphabet or digit"
exit 1 # Exit with failure if format doesn't match
fi
- name: Check PR Description
run: |
description=${{ github.event.pull_request.body }}
Expand Down

0 comments on commit 7205088

Please sign in to comment.