mirror of
https://github.com/browseros-ai/BrowserOS.git
synced 2026-05-19 19:41:06 +00:00
Remove synchronize and reopened triggers since this workflow only validates the PR title, which doesn't change on new commits or reopen.
21 lines
657 B
YAML
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"}'
|