mirror of
https://github.com/XRPLF/clio.git
synced 2025-11-04 11:55:51 +00:00
chore: Start pr title with uppercase (#2666)
This commit is contained in:
7
.github/workflows/check_pr_title.yml
vendored
7
.github/workflows/check_pr_title.yml
vendored
@@ -15,3 +15,10 @@ jobs:
|
||||
task_types: '["build","feat","fix","docs","test","ci","style","refactor","perf","chore"]'
|
||||
add_label: false
|
||||
custom_labels: '{"build":"build", "feat":"enhancement", "fix":"bug", "docs":"documentation", "test":"testability", "ci":"ci", "style":"refactoring", "refactor":"refactoring", "perf":"performance", "chore":"tooling"}'
|
||||
|
||||
- name: Check if message starts with upper-case letter
|
||||
run: |
|
||||
if [[ ! "${{ github.event.pull_request.title }}" =~ ^[a-z]+:\ [A-Z] ]]; then
|
||||
echo "Error: PR title must start with an upper-case letter."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user