We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a4fe3db commit 62c3c0eCopy full SHA for 62c3c0e
docs/guides-ci-setup.md
@@ -145,6 +145,29 @@ lint:commit:
145
- echo "${CI_COMMIT_MESSAGE}" | commitlint
146
```
147
148
+## Jenkins X
149
+
150
+```
151
+apiVersion: tekton.dev/v1beta1
152
+kind: PipelineRun
153
+metadata:
154
+ name: pullrequest
155
+spec:
156
+ pipelineSpec:
157
+ tasks:
158
+ - name: conventional-commits
159
+ taskSpec:
160
+ steps:
161
+ - name: lint-commit-messages
162
+ image: commitlint/commitlint
163
+ script: |
164
+ #!/usr/bin/env sh
165
+ . .jx/variables.sh
166
+ commitlint --extends '@commitlint/config-conventional' --from $PR_BASE_SHA --to $PR_HEAD_SHA
167
+ serviceAccountName: tekton-bot
168
+ timeout: 15m
169
170
171
### 3rd party integrations
172
173
#### [Codemagic](https://codemagic.io/)
0 commit comments