Skip to content

Conventional Commits #963

Conventional Commits

Conventional Commits #963

name: Conventional Commits
on:
# https://github.com/marketplace/actions/semantic-pull-request#event-triggers
pull_request:
types:
- opened
- edited
- reopened
- synchronize
merge_group:
permissions:
contents: read
pull-requests: read
jobs:
main:
name: Validate PR title
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
with:
show-progress: false
- uses: benhodgson87/conventional-pull-request-action@5cc233b5bbe95b3293e9e464ded984ed47755abe # v2
if: ${{ github.event_name == 'pull_request' }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
commitlintRulesPath: ".github/commitlint.config.js"