From 437718b5a7d822683a6b1a0e120bbf2221f26c2f Mon Sep 17 00:00:00 2001
From: FonduemangVI <15520607+FonduemangVI@users.noreply.github.com>
Date: Tue, 28 Jan 2025 16:31:42 +1100
Subject: [PATCH] fix(gha): update regex link for pr naming validation
---
.github/workflows/pr-naming-check.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.github/workflows/pr-naming-check.yml b/.github/workflows/pr-naming-check.yml
index 1fc149b87c..1f240cd16b 100644
--- a/.github/workflows/pr-naming-check.yml
+++ b/.github/workflows/pr-naming-check.yml
@@ -26,7 +26,7 @@ jobs:
if ((context.payload.action === 'opened') || (context.payload.action === 'reopened')) {
const prNumber = context.payload.pull_request.number;
const author = context.payload.pull_request.user.login;
- const message = `@${author} your pull request title "${context.payload.pull_request.title}" does not conform to our [naming conventions](https://www.conventionalcommits.org/en/v1.0.0/).\n\nPlease update the title to match the pattern: "feat|build|chore|style|fix|update|ci(\\): \\\n\nYou can check your title at this [regex101 link](https://regex101.com/r/jOZ6kU/1)."`;
+ const message = `@${author} your pull request title "${context.payload.pull_request.title}" does not conform to our [naming conventions](https://www.conventionalcommits.org/en/v1.0.0/).\n\nPlease update the title to match the pattern: "feat|build|chore|style|fix|update|ci(\\): \\\n\nYou can check your title at this [regex101 link](https://regex101.com/r/StPfFi/2)."`;
github.rest.issues.createComment({
owner: context.repo.owner,
repo: context.repo.repo,