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 17, 2024
1 parent 44d99b6 commit 1190433
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/tf-conventional-commits.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
#
# PLEASE NOTE: Managed workflow - do not change manually
#
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 1190433

Please sign in to comment.