Skip to content

Commit

Permalink
chore(actions): add conventional commit check
Browse files Browse the repository at this point in the history
  • Loading branch information
jbr committed Apr 6, 2024
1 parent 03a3dc7 commit 41ae4fc
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/conventional.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Conventional Commit Check

on: [pull_request]

jobs:
conventional_commits:
name: Conventional Commit Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: install convco
uses: taiki-e/cache-cargo-install-action@v1
with:
tool: convco
- name: Check commit format
run: convco check "${{ github.event.pull_request.base.sha }}..${{ github.event.pull_request.head.sha }}"

0 comments on commit 41ae4fc

Please sign in to comment.