.github: remove redundant regexp check for heading dot (#32597)

This commit is contained in:
Guillaume Ballet 2025-09-12 11:08:47 +02:00 committed by GitHub
parent 8a19582c8d
commit 25d6596cd5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -13,7 +13,7 @@ jobs:
with:
script: |
const prTitle = context.payload.pull_request.title;
const titleRegex = /^(\.?[\w\s,{}/.]+): .+/;
const titleRegex = /^([\w\s,{}/.]+): .+/;
if (!titleRegex.test(prTitle)) {
core.setFailed(`PR title "${prTitle}" does not match required format: directory, ...: description`);