aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordundargoc <33953936+dundargoc@users.noreply.github.com>2022-05-22 17:03:06 +0200
committerGitHub <noreply@github.com>2022-05-22 08:03:06 -0700
commit63741176ce9bf576ee9693b93844e1cbcf0420b2 (patch)
treeffa36b21787abbf2a03c551ea7840d9c57aae15e
parent9b34723bcc26f846949e2e1df0ee7ee868366794 (diff)
downloadrneovim-63741176ce9bf576ee9693b93844e1cbcf0420b2.tar.gz
rneovim-63741176ce9bf576ee9693b93844e1cbcf0420b2.tar.bz2
rneovim-63741176ce9bf576ee9693b93844e1cbcf0420b2.zip
ci(commitlint): only trigger on PRs to master #18679
This will prevent a failure for backported PRs as they use a different commit message.
-rw-r--r--.github/workflows/commitlint.yml2
1 files changed, 2 insertions, 0 deletions
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