mirror of
https://github.com/azahar-emu/azahar.git
synced 2026-06-05 18:23:39 -04:00
github: Ignore punctuation marks in PR verification
This commit is contained in:
parent
102f7d24fc
commit
b54911a52e
1 changed files with 1 additions and 1 deletions
|
|
@ -39,7 +39,7 @@ jobs:
|
|||
const displayName = (user.name || '').toLowerCase();
|
||||
|
||||
// Make comment body lowercase and split words
|
||||
const body = comment.body.toLowerCase().trim().split(/\s+/);
|
||||
const body = comment.body.toLowerCase().trim().replace(/[^\p{L}\p{N}_-\s]/gu, '').split(/\s+/);
|
||||
|
||||
// Check that the user verified themselves by writing a song about the NES and the SNES.
|
||||
const verified =
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue