add(regex101): adds test link for convention we accept

Co-Authored-By: nuxen <47067662+nuxencs@users.noreply.github.com>
pull/1881/head
zakary 2 months ago
parent 2698336649
commit e00de28a15

@ -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(\\<area\\>): \\<description\\>"`;
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(\\<area\\>): \\<description\\>\n\nYou can check your title at this [regex101 link](https://regex101.com/r/jOZ6kU/1)."`;
github.rest.issues.createComment({
owner: context.repo.owner,
repo: context.repo.repo,

Loading…
Cancel
Save