summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorBrian Gianforcaro <b.gianfo@gmail.com>2022-01-06 18:40:23 -0800
committerBrian Gianforcaro <b.gianfo@gmail.com>2022-01-07 00:39:12 -0800
commitc6c59653ce511768789cd25287bd234836bbebc5 (patch)
treeb92d3da6751d34b01443cabec8951861cd7bcf81 /.github/workflows
parentf91d471843fe097603a9af42d9cd5a8f84f58f83 (diff)
downloadserenity-c6c59653ce511768789cd25287bd234836bbebc5.zip
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.
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/lintcommits.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/lintcommits.yml b/.github/workflows/lintcommits.yml
index 0c5dddda20..b8c4fbd445 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."