Skip to content

Commit

Permalink
don't check merge commit on gitlint
Browse files Browse the repository at this point in the history
it would bring a whole set of issues with long lines.

Signed-off-by: Chmouel Boudjnah <chmouel@redhat.com>
  • Loading branch information
chmouel committed Sep 5, 2023
1 parent 9170a22 commit cd017c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .tekton/linter.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ spec:
workingDir: $(workspaces.source.path)
script: |
git config --global --add safe.directory /workspace/source
gitlint --debug
gitlint --commit "$(git log --format=format:%H --no-merges -1)"
- name: yamllint
runAfter:
Expand Down

0 comments on commit cd017c5

Please sign in to comment.