Skip to content

Commit

Permalink
ci: add conventional commit workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
tito committed Dec 13, 2024
1 parent c4a3f28 commit 2e7339f
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/conventional_commit_pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Conventional commit PR

on: [pull_request]

jobs:
cog_check_job:
runs-on: ubuntu-latest
name: check conventional commit compliance
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
# pick the pr HEAD instead of the merge commit
ref: ${{ github.event.pull_request.head.sha }}

- name: Conventional commit check
uses: cocogitto/cocogitto-action@v3
with:
check-latest-tag-only: true

0 comments on commit 2e7339f

Please sign in to comment.