From 63741176ce9bf576ee9693b93844e1cbcf0420b2 Mon Sep 17 00:00:00 2001 From: dundargoc <33953936+dundargoc@users.noreply.github.com> Date: Sun, 22 May 2022 17:03:06 +0200 Subject: ci(commitlint): only trigger on PRs to master #18679 This will prevent a failure for backported PRs as they use a different commit message. --- .github/workflows/commitlint.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/commitlint.yml b/.github/workflows/commitlint.yml index a742b411da..68be5436f6 100644 --- a/.github/workflows/commitlint.yml +++ b/.github/workflows/commitlint.yml @@ -4,6 +4,8 @@ on: # to merge a PR, it can't be skipped, so use pull_request_target pull_request_target: types: [opened, synchronize, reopened, ready_for_review] + branches: + - 'master' jobs: lint-commits: runs-on: ubuntu-latest -- cgit