.github: update regexp for validate_pr

This commit is contained in:
Felix Lange 2025-09-11 12:53:15 +02:00
parent 7ee545c461
commit 5658acb5b8

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`);