Files
BrowserOS/.github/workflows/pr-title.yml
Dani Akash 392312f203 ci: only run PR title validation on open and edit (#565)
Remove synchronize and reopened triggers since this workflow only
validates the PR title, which doesn't change on new commits or reopen.
2026-03-26 23:06:11 +05:30

21 lines
657 B
YAML

name: PR Conventional Commit Validation
on:
pull_request:
types: [opened, edited]
permissions:
pull-requests: write
issues: write
contents: read
jobs:
validate-pr-title:
runs-on: ubuntu-latest
steps:
- name: PR Conventional Commit Validation
uses: ytanikin/pr-conventional-commits@1.5.1
with:
task_types: '["feat","fix","docs","test","ci","refactor","perf","chore","revert","build"]'
custom_labels: '{"feat": "feature", "fix": "fix", "docs": "documentation", "test": "test", "ci": "CI/CD", "refactor": "refactor", "perf": "performance", "chore": "chore", "revert": "revert", "wip": "WIP"}'