Skip to content

feat(seo): add sitemap.xml and robots.txt generation (#48, #60) #174

feat(seo): add sitemap.xml and robots.txt generation (#48, #60)

feat(seo): add sitemap.xml and robots.txt generation (#48, #60) #174

name: Conventional Commits
on:
pull_request:
types: [opened, edited, synchronize, reopened]
jobs:
check-commits:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Check PR title follows conventional commits
uses: amannn/action-semantic-pull-request@v5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
# Configure which types are allowed
types: |
feat
fix
docs
style
refactor
perf
test
build
ci
chore
revert
# Configure which scopes are allowed (optional)
# scopes: |
# core
# api
# ui
# Require a scope
requireScope: false
# Disable validation for merge commits
ignoreLabels: |
ignore-conventional-commits
# Configure validation
subjectPattern: ^(?![A-Z]).+$
subjectPatternError: |
The subject "{subject}" found in the pull request title "{title}"
should start with a lowercase letter.
# Whether the PR title should match the commit message format
validateSingleCommit: false