Skip to content

Commit

Permalink
ci: add/update workflow for checking commit conventions
Browse files Browse the repository at this point in the history
  • Loading branch information
wetransformer committed Apr 8, 2024
1 parent a7e5bc6 commit 5c045d8
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/tf-conventional-commits.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Check commit conventions

on:
pull_request:
branches:
- '*'

jobs:
verify-commits:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1

# https://github.com/taskmedia/action-conventional-commits
- uses: taskmedia/action-conventional-commits@1aea91552f4a5d1407481066c5c9d83f1936b170 # v1.1.15
with:
types: "feat|fix|refactor|revert|ci|chore|docs|build|perf|test|style"
skip_revert: false

0 comments on commit 5c045d8

Please sign in to comment.