mirror of
https://github.com/daveallie/crosspoint-reader.git
synced 2026-02-04 22:57:50 +03:00
Update .github/workflows/pr-formatting-check.yml
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
parent
328d504cb0
commit
e3c799e05c
6
.github/workflows/pr-formatting-check.yml
vendored
6
.github/workflows/pr-formatting-check.yml
vendored
@ -37,10 +37,10 @@ jobs:
|
|||||||
`${{ steps.title_check.outputs.error_message || steps.title_check.outputs.error || '' }}`.trim();
|
`${{ steps.title_check.outputs.error_message || steps.title_check.outputs.error || '' }}`.trim();
|
||||||
const details = error ? `\n\n**Error:** ${error}` : '\n\n**Error:** See workflow logs.';
|
const details = error ? `\n\n**Error:** ${error}` : '\n\n**Error:** See workflow logs.';
|
||||||
const body = `${marker}
|
const body = `${marker}
|
||||||
**PR title check failed**
|
**PR title check failed**
|
||||||
|
|
||||||
Please use a Conventional Commit-style prefix (e.g., \`feat:\`, \`fix:\`, \`docs:\`, \`chore:\`).
|
Please use a Conventional Commit-style prefix (e.g., \`feat:\`, \`fix:\`, \`docs:\`, \`chore:\`).
|
||||||
If this change should appear in release notes, ensure the title reflects the correct category.${details}`;
|
If this change should appear in release notes, ensure the title reflects the correct category.${details}`;
|
||||||
|
|
||||||
const { data: comments } = await github.rest.issues.listComments({
|
const { data: comments } = await github.rest.issues.listComments({
|
||||||
owner: context.repo.owner,
|
owner: context.repo.owner,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user