summaryrefslogtreecommitdiff
path: root/.github/workflows/commitlint.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/commitlint.yml')
-rw-r--r--.github/workflows/commitlint.yml7
1 files changed, 6 insertions, 1 deletions
diff --git a/.github/workflows/commitlint.yml b/.github/workflows/commitlint.yml
index 93c776e3..1bae3a10 100644
--- a/.github/workflows/commitlint.yml
+++ b/.github/workflows/commitlint.yml
@@ -1,5 +1,9 @@
name: "Commit Linter"
-on: pull_request
+on:
+ pull_request:
+ branches:
+ - "rolling"
+
jobs:
lint-commits:
runs-on: ubuntu-latest
@@ -13,3 +17,4 @@ jobs:
with:
configFile: .github/workflows/commitlint.config.js
helpURL: https://github.com/LunarVim/LunarVim/blob/rolling/CONTRIBUTING.md#commit-messages
+ firstParent: true