Skip to content

Commit

Permalink
Adjustment to regex.
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexis Erazo committed May 8, 2024
1 parent 22e1dc5 commit 233b079
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/pr_description_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: Extract Release Notes
id: extract_notes
run: |
release_notes=$(grep -oP '(?s)(?<=Release Notes)\s*([\s\S]*?)\s*(?=###)' pr_description.txt)
release_notes=$(grep -oP '(?s)(?<=### Release Notes)\s*([\s\S]*?)\s*(?=###)' pr_description.txt)
echo "$release_notes" > release_notes.txt
cat release_notes.txt
Expand Down

0 comments on commit 233b079

Please sign in to comment.