From c6c59653ce511768789cd25287bd234836bbebc5 Mon Sep 17 00:00:00 2001 From: Brian Gianforcaro Date: Thu, 6 Jan 2022 18:40:23 -0800 Subject: [PATCH] CI: Update the `lint commits` error message to be more user friendly We often see PR's opened and then immediately closed because folks think they did something bad, or don't know how to fix the situation. So lets try to give them a few pointers. --- .github/workflows/lintcommits.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/lintcommits.yml b/.github/workflows/lintcommits.yml index 0c5dddda209..b8c4fbd4451 100644 --- a/.github/workflows/lintcommits.yml +++ b/.github/workflows/lintcommits.yml @@ -77,4 +77,4 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.BUGGIEBOT }} with: - msg: "One or more of the commits in this PR do not match the [code submission policy](https://github.com/SerenityOS/serenity/blob/master/CONTRIBUTING.md#code-submission-policy), please check the `lint_commits` CI job for more details." + msg: "Hello!\n\nOne or more of the commit messages in this PR do not match the SerenityOS [code submission policy](https://github.com/SerenityOS/serenity/blob/master/CONTRIBUTING.md#code-submission-policy), please check the `lint_commits` CI job for more details on which commits were flagged and why.\nPlease do not close this PR and open another, instead modify your commit message(s) with [git commit --amend](https://docs.github.com/en/pull-requests/committing-changes-to-your-project/creating-and-editing-commits/changing-a-commit-message) and force push those changes to update this PR."