From a7ffafb898f64de04a99e071a9cb5ea1f64b94be Mon Sep 17 00:00:00 2001 From: Victorien Elvinger Date: Tue, 30 Apr 2024 11:27:02 +0200 Subject: [PATCH] ci: accept prefix 'revert:' in PR titles (#2654) --- .github/workflows/pull_request_title_lint.yaml | 1 + CONTRIBUTING.md | 1 + 2 files changed, 2 insertions(+) diff --git a/.github/workflows/pull_request_title_lint.yaml b/.github/workflows/pull_request_title_lint.yaml index 3c7a6bf95afb..9b3ac35a4eb7 100644 --- a/.github/workflows/pull_request_title_lint.yaml +++ b/.github/workflows/pull_request_title_lint.yaml @@ -32,6 +32,7 @@ jobs: perf refactor release + revert test # Configure that a scope must always be provided. requireScope: false diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 6c6e69a3b079..cae66350809a 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -278,6 +278,7 @@ The following commit prefixes are supported: - `perf:`, project performance - `refactor:`, refactor of the code without change in functionality - `release:`, release of a new version +- `revert:`, revert a previous change - `test:`, a test update Below are examples of well-formatted commits: