Skip to content

Commit

Permalink
updated validate pr template
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesLawton committed Jan 7, 2025
1 parent cb4148e commit 3097081
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/validate-pr-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
| jq -r '.body')
# Check if one of the required checkboxes in the 'Docs Checklist' is marked
if ! echo "$PR_BODY" | grep -Eq '\[x\] I have created a separate PR on the sequence docs repository for documentation updates: \[Link to docs PR\]\(https://github.com/0xsequence/docs/pulls\)|\[x\] No documentation update is needed for this change'; then
if ! echo "$PR_BODY" | grep -Eq '\[x\] I have created a separate PR on the sequence docs repository for documentation updates|\[x\] No documentation update is needed for this change'; then
echo "Error: The 'Docs Checklist' section in the PR template has not been completed properly."
echo "Please ensure you have checked one of the options in the 'Docs Checklist' section."
exit 1
Expand Down

0 comments on commit 3097081

Please sign in to comment.