commit 63741176ce9bf576ee9693b93844e1cbcf0420b2
parent 9b34723bcc26f846949e2e1df0ee7ee868366794
Author: dundargoc <33953936+dundargoc@users.noreply.github.com>
Date: Sun, 22 May 2022 17:03:06 +0200
ci(commitlint): only trigger on PRs to master #18679
This will prevent a failure for backported PRs as they use a different
commit message.
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git 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