Skip to content

CI: Move Ruff rules to dedicated ruff.toml config, and add pre-commit setup #1386

CI: Move Ruff rules to dedicated ruff.toml config, and add pre-commit setup

CI: Move Ruff rules to dedicated ruff.toml config, and add pre-commit setup #1386

name: "Verify Semantic PR Title"
on:
pull_request:
types:
- opened
- edited
- synchronize
- ready_for_review
permissions:
pull-requests: read
jobs:
validate_pr_title:
name: Validate PR title
runs-on: ubuntu-latest
steps:
- uses: amannn/action-semantic-pull-request@v5
if: ${{ github.event.pull_request.draft == false }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
# Configure which types are allowed (newline-delimited).
# These are intentionally case-insensitive, allowing title casing or all lowercase.
# See: https://github.com/commitizen/conventional-commit-types/blob/master/index.json
types: |
fix
Fix
feat
Feat
docs
Docs
ci
CI
chore
Chore
build
Build
tests
Tests