Skip to content

Commit 64c750c

Browse files
maintenance(opened-pr): fix regexp
Signed-off-by: Leandro Damascena <leandro.damascena@gmail.com>
1 parent 104be8f commit 64c750c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/scripts/label_missing_acknowledgement_section.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ module.exports = async ({github, context, core}) => {
1717
return core.notice("Only newly open PRs are labelled to avoid spam; skipping")
1818
}
1919

20-
const RELATED_ACK_SECTION_REGEX = /## Acknowledgment\n\nBy submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.\n\n\*\*Disclaimer\*\*: We value your time and bandwidth\. As such, any pull requests created on non-triaged issues might not be successful\./;
20+
const RELATED_ACK_SECTION_REGEX = /By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.\n\n\*\*Disclaimer\*\*: We value your time and bandwidth\. As such, any pull requests created on non-triaged issues might not be successful\./;
2121

2222
const isMatch = RELATED_ACK_SECTION_REGEX.exec(PR_BODY);
2323
if (isMatch == null) {

0 commit comments

Comments
 (0)