diff options
| author | ST-DDT <[email protected]> | 2024-08-09 20:47:17 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-08-09 20:47:17 +0200 |
| commit | 7fa2f99dd66c3c3b59298729d838cc8794a2d030 (patch) | |
| tree | b31f00d8600b52bf8c8dc24c1450c5844c942eff /.github/workflows/commentCodeGeneration.ts | |
| parent | 354ff4af8b7e3d34125e3052208b5800f6a5ecd9 (diff) | |
| download | faker-7fa2f99dd66c3c3b59298729d838cc8794a2d030.tar.xz faker-7fa2f99dd66c3c3b59298729d838cc8794a2d030.zip | |
infra: improve CI preflight warning message (#3039)
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) |
