ci(commitlint): only trigger on PRs to master #18679

This will prevent a failure for backported PRs as they use a different
commit message.
This commit is contained in:
dundargoc 2022-05-22 17:03:06 +02:00 committed by GitHub
parent 9b34723bcc
commit 63741176ce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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