diff options
Diffstat (limited to '.github/workflows/commentCodeGeneration.ts')
| -rw-r--r-- | .github/workflows/commentCodeGeneration.ts | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/.github/workflows/commentCodeGeneration.ts b/.github/workflows/commentCodeGeneration.ts index ed5258d5..96a520d1 100644 --- a/.github/workflows/commentCodeGeneration.ts +++ b/.github/workflows/commentCodeGeneration.ts @@ -21,7 +21,14 @@ export async function script( issue_number: context.issue.number, }); - const body = `Uncommitted changes were detected after runnning <code>generate:*</code> commands.\nPlease run <code>pnpm run preflight</code> to generate/update the related files, and commit them.`; + const body = `GitHub Actions has found some problems running the preflight checks. + +Please make sure to: + +- run \`pnpm run preflight\` locally +- fix all issues until the command completes without errors +- commit and push the changes +`; const botComment = comments.find( (comment) => comment.user?.type === 'Bot' && comment.body?.includes(body) |
