From c8c0ca21872e38b97e12a4ee5cd1132fe8a438ce Mon Sep 17 00:00:00 2001 From: DivisionByZero Date: Sat, 18 Feb 2023 01:07:09 +0100 Subject: infra: add preflight script (#1846) --- .github/pull_request_template.md | 2 ++ .github/workflows/commentCodeGeneration.ts | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) (limited to '.github') diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index 9c07d984..8ec56cca 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -1,3 +1,5 @@ + + diff --git a/.github/workflows/commentCodeGeneration.ts b/.github/workflows/commentCodeGeneration.ts index 74a80927..f456e563 100644 --- a/.github/workflows/commentCodeGeneration.ts +++ b/.github/workflows/commentCodeGeneration.ts @@ -21,7 +21,7 @@ module.exports = async ( issue_number: context.issue.number, }); - const body = `Uncommitted changes were detected after runnning generate:* commands.\nPlease run pnpm run generate:locales, pnpm run generate:api-docs, and pnpm run test -u to generate/update the related files, and commit them.`; + const body = `Uncommitted changes were detected after runnning generate:* commands.\nPlease run pnpm run preflight to generate/update the related files, and commit them.`; const botComment = comments.find( (comment) => comment.user?.type === 'Bot' && comment.body?.includes(body) -- cgit v1.2.3