Skip to content

Commit b5462b8

Browse files
authored
chore: update pr_lint.yml to add description (#31954)
1 parent 6594eb8 commit b5462b8

File tree

1 file changed

+48
-1
lines changed

1 file changed

+48
-1
lines changed

.github/workflows/pr_lint.yml

Lines changed: 48 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,50 @@
1+
# -----------------------------------------------------------------------------
2+
# PR Title Lint Workflow
3+
#
4+
# Purpose:
5+
# Enforces Conventional Commits format for pull request titles to maintain a
6+
# clear, consistent, and machine-readable change history across our repository.
7+
#
8+
# Enforced Commit Message Format (Conventional Commits 1.0.0):
9+
# <type>[optional scope]: <description>
10+
# [optional body]
11+
# [optional footer(s)]
12+
#
13+
# Allowed Types:
14+
# • feat — a new feature (MINOR bump)
15+
# • fix — a bug fix (PATCH bump)
16+
# • docs — documentation only changes
17+
# • style — formatting, missing semi-colons, etc.; no code change
18+
# • refactor — code change that neither fixes a bug nor adds a feature
19+
# • perf — code change that improves performance
20+
# • test — adding missing tests or correcting existing tests
21+
# • build — changes that affect the build system or external dependencies
22+
# • ci — continuous integration/configuration changes
23+
# • chore — other changes that don't modify src or test files
24+
# • revert — reverts a previous commit
25+
# • release — prepare a new release
26+
#
27+
# Allowed Scopes (optional):
28+
# core, cli, langchain, standard-tests, docs, anthropic, chroma, deepseek,
29+
# exa, fireworks, groq, huggingface, mistralai, nomic, ollama, openai,
30+
# perplexity, prompty, qdrant, xai
31+
#
32+
# Rules & Tips for New Committers:
33+
# 1. Subject (type) must start with a lowercase letter and, if possible, be
34+
# followed by a scope wrapped in parenthesis `(scope)`
35+
# 2. Breaking changes:
36+
# – Append "!" after type/scope (e.g., feat!: drop Node 12 support)
37+
# – Or include a footer "BREAKING CHANGE: <details>"
38+
# 3. Example PR titles:
39+
# feat(core): add multi‐tenant support
40+
# fix(cli): resolve flag parsing error
41+
# docs: update API usage examples
42+
# docs(openai): update API usage examples
43+
#
44+
# Resources:
45+
# • Conventional Commits spec: https://www.conventionalcommits.org/en/v1.0.0/
46+
# -----------------------------------------------------------------------------
47+
148
name: PR Title Lint
249

350
permissions:
@@ -61,4 +108,4 @@ jobs:
61108
didn't match the configured pattern. Please ensure that the subject
62109
doesn't start with an uppercase character.
63110
ignoreLabels: |
64-
ignore-lint-pr-title
111+
ignore-lint-pr-title

0 commit comments

Comments
 (0)