mirror of
https://github.com/zed-industries/zed.git
synced 2026-05-31 19:05:00 +07:00
Allow PRs to not have a newline before the first release note (#52336)
Release Notes: - N/A
This commit is contained in:
parent
b1e94da0d7
commit
9dd588a7a9
1 changed files with 1 additions and 1 deletions
|
|
@ -12,7 +12,7 @@ prHygiene({
|
|||
},
|
||||
});
|
||||
|
||||
const RELEASE_NOTES_PATTERN = /Release Notes:\r?\n\s+-/gm;
|
||||
const RELEASE_NOTES_PATTERN = /Release Notes:(\r?\n)+- /gm;
|
||||
const body = danger.github.pr.body;
|
||||
|
||||
const hasReleaseNotes = RELEASE_NOTES_PATTERN.test(body);
|
||||
|
|
|
|||
Loading…
Reference in a new issue