Skip to content

Commit 1af0f28

Browse files
authored
Update pr-description.yaml
1 parent c209151 commit 1af0f28

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed
Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,28 @@
1-
name: PR Description Validator
1+
name: PR Description
22

33
on:
44
pull_request:
55
types: [opened, edited, reopened]
66

77
jobs:
88
validate-pr-description:
9-
name: Validate PR Description
9+
name: Validate Description
1010
runs-on: ubuntu-latest
1111
steps:
1212
- name: Set up workspace
1313
uses: actions/checkout@v2
1414

15-
- name: Validate PR Description
15+
- name: Validate
1616
run: |
1717
# Ensure jq is installed
18-
sudo apt-get install jq
18+
# sudo apt-get install jq
1919
2020
# Fetch PR description using jq
2121
PR_DESCRIPTION=$(jq -r ".pull_request.body" "$GITHUB_EVENT_PATH")
2222
KEYWORD="REQUIRED_KEYWORD"
2323
24-
# Check for the required keyword in the PR description
24+
# Users should remove the welcome comment
2525
if [[ $PR_DESCRIPTION = *"<!--"* ]] || [[ $PR_DESCRIPTION = *"-->"* ]]; then
26-
echo "Please remove the welcome comment from your PR description."
26+
echo "FAILED: Please remove the welcome comment from your PR description."
2727
exit 1
2828
fi

0 commit comments

Comments
 (0)