From 3351ddc69b3c50397b7468f0ffc81d3a96f8286d Mon Sep 17 00:00:00 2001 From: Guillaume Ballet <3272758+gballet@users.noreply.github.com> Date: Fri, 12 Sep 2025 10:00:16 +0200 Subject: [PATCH] .github/workflows: remove redundant regexp check for heading dot --- .github/workflows/validate_pr.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/validate_pr.yml b/.github/workflows/validate_pr.yml index 02ebf431b0..0719ca2e3d 100644 --- a/.github/workflows/validate_pr.yml +++ b/.github/workflows/validate_pr.yml @@ -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`);