Skip to content

Commit

Permalink
chore: Add conventional commits check
Browse files Browse the repository at this point in the history
  • Loading branch information
johnjcsmith committed Nov 27, 2024
1 parent 57d11bd commit cf33acc
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/conventional-commits.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Check conventional commits

permissions:
pull-requests: read

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

on:
pull_request:
branches:
- main
types: [opened, edited, reopened, synchronize, ready_for_review]

jobs:
commit-message-validation:
runs-on: ubuntu-latest

steps:
- name: Commit message validation
uses: amannn/action-semantic-pull-request@v5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit cf33acc

Please sign in to comment.