Skip to content

feat: add conventional commits and documentation to onboard new repos… #1

feat: add conventional commits and documentation to onboard new repos…

feat: add conventional commits and documentation to onboard new repos… #1

name: Conventional Commits
on:
pull_request:
branches: ["main"]
types: [opened, edited, synchronize, reopened]
permissions:
pull-requests: read
jobs:
pr-title:
name: PR Title
runs-on: ubuntu-latest
steps:
- uses: amannn/action-semantic-pull-request@v5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
types: |
feat
fix
docs
chore
refactor
test
ci
perf
revert
requireScope: false
commitlint:
name: Commit Messages
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: wagoid/commitlint-github-action@v6
with:
configFile: .commitlintrc.yml