From 605fb58a3c8b340b9096adfbfe11d9a900fa4b0c Mon Sep 17 00:00:00 2001 From: Tianxin Dong Date: Tue, 26 Oct 2021 12:09:14 +0800 Subject: [PATCH] Fix: pass on octokit error to make the check consistent (#2549) --- .github/pr-title-checker-config.json | 2 +- .github/workflows/commit-lint.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/pr-title-checker-config.json b/.github/pr-title-checker-config.json index 9c13428ac..d12359173 100644 --- a/.github/pr-title-checker-config.json +++ b/.github/pr-title-checker-config.json @@ -5,6 +5,6 @@ }, "CHECKS": { "prefixes": ["Fix: ", "Feat: ", "Docs: ", "Test: ", "Chore: ", "CI: ", "Perf: ", "Refactor: ", "Revert: ", "Style: ", "Test: ", - "Fix(", "Feat(", "Docs(", "Test(", "Chore(", "CI(", "Perf(", "Refactor(", "Revert(", "Style(", "Test("] + "Fix(", "Feat(", "Docs(", "Test(", "Chore(", "CI(", "Perf(", "Refactor(", "Revert(", "Style(", "Test(", "[Backport"] } } \ No newline at end of file diff --git a/.github/workflows/commit-lint.yml b/.github/workflows/commit-lint.yml index 708c24999..570cba4c5 100644 --- a/.github/workflows/commit-lint.yml +++ b/.github/workflows/commit-lint.yml @@ -15,5 +15,5 @@ jobs: - uses: thehanimo/pr-title-checker@v1.3.1 with: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - pass_on_octokit_error: false + pass_on_octokit_error: true configuration_path: ".github/pr-title-checker-config.json"