Skip to content

Commit

Permalink
chore(ci): commit-lint workflow points to docs
Browse files Browse the repository at this point in the history
  • Loading branch information
gszr committed Feb 27, 2024
1 parent 6c9f44a commit 7212de7
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/commitlint.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,19 @@
name: commit-lint
name: Verify Commit Format

on: [push, pull_request]
on: [push]

jobs:
lint:
runs-on: ubuntu-latest

steps:
- uses: ahmadnassri/action-commit-lint@v2
- name: Run commit linter
uses: ahmadnassri/action-commit-lint@c46b910837381d1b39c7b7ede72666d7f3e83222 #v2
with:
config: conventional
- name: Point to contributing guide
if: failure()
run: |
echo "Commit message does not follow the contributing guidelines"
echo " https://github.com/Kong/kong/blob/master/CONTRIBUTING.md#commit-message-format"
exit 1

0 comments on commit 7212de7

Please sign in to comment.