We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 04a2fbd commit c181181Copy full SHA for c181181
.tekton/linter.yaml
@@ -65,9 +65,10 @@ spec:
65
image: jorisroovers/gitlint
66
workingDir: $(workspaces.source.path)
67
script: |
68
+ set -x
69
git config --global --add safe.directory /workspace/source
70
# don't lint merge commit
- git log -1 |grep -q '^Merge:' && exit 0
71
+ git log -1 |grep -E -q '^Merge:' && exit 0
72
gitlint --commit "$(git log --format=format:%H --no-merges -1)" --ignore "Merge branch"
73
74
- name: yamllint
0 commit comments