Skip to content

Commit a3bc47a

Browse files
committed
Update valid prefixes
Include the prefix used for backports which will be the release branch name in brackets such as "[release/0.6]".
1 parent b90cb16 commit a3bc47a

4 files changed

Lines changed: 24 additions & 8 deletions

File tree

.github/pr-title-checker-config.json

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,16 @@
44
"color": "EEEEEE"
55
},
66
"CHECKS": {
7-
"prefixes": ["LCORE-", "RSPEED-", "MGTM-", "OLS-", "RHIDP-", "LEADS-", "CWFHEALTH-"]
7+
"prefixes": [
8+
"LCORE-",
9+
"RSPEED-",
10+
"MGTM-",
11+
"OLS-",
12+
"RHIDP-",
13+
"LEADS-",
14+
"CWFHEALTH-",
15+
"[release/"
16+
]
817
},
918
"MESSAGES": {
1019
"success": "All OK",

AGENTS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,7 @@ uv run make test-e2e # End-to-end tests
385385

386386
**PR titles MUST start with a JIRA issue key prefix.** CI enforces this via `pr-title-checker` (config: `.github/pr-title-checker-config.json`).
387387

388-
Allowed prefixes: `LCORE-`, `RSPEED-`, `MGTM-`, `OLS-`, `RHDHPAI-`, `LEADS-`
388+
Allowed prefixes: `LCORE-`, `RSPEED-`, `MGTM-`, `OLS-`, `RHIDP-`, `LEADS-`, `CWFHEALTH-`, `[release/`
389389

390390
-`RSPEED-2849: add user_agent to ResponsesEventData`
391391
-`feat(observability): add user_agent to ResponsesEventData`

docs/demos/lcore/contributing_guidelines.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,10 @@ ptisnovs@redhat.com
7474

7575
## PR description
7676

77-
* Jira ticket needs to be added into PR title
77+
* PR titles must start with a JIRA issue key prefix. CI enforces this via
78+
`pr-title-checker` (config: `.github/pr-title-checker-config.json`).
79+
Allowed prefixes: `LCORE-`, `RSPEED-`, `MGTM-`, `OLS-`, `RHIDP-`, `LEADS-`,
80+
`CWFHEALTH-`, `[release/`
7881
- for example: `LCORE-740: type hints for models unit tests`
7982
* Fill-in all relevant information in the PR template
8083
- unused parts of PR template (like information about testing etc.) can be deleted

docs/devel_doc/contributing_guide.md

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,11 @@ Happy hacking!
9898

9999
## PR description
100100

101-
* Jira ticket needs to be added into PR title, for example: `LCORE-740: type hints for models unit tests`
101+
* PR titles must start with a JIRA issue key prefix or the target branch of a backport. CI enforces this via
102+
`pr-title-checker` (config: `.github/pr-title-checker-config.json`).
103+
Allowed prefixes: `LCORE-`, `RSPEED-`, `MGTM-`, `OLS-`, `RHIDP-`, `LEADS-`,
104+
`CWFHEALTH-`, `[release/`
105+
- for example: `LCORE-740: type hints for models unit tests`
102106
* Fill-in all relevant information in the PR template
103107
- unused parts of PR template (like information about testing etc.) can be deleted
104108
* Please note that CodeRabbitAI will create a summary of your pull request
@@ -183,7 +187,7 @@ at the start of each session and announce which files were loaded.
183187
Nontrivial and substantial AI-generated or AI-assisted content should be
184188
“marked” in appropriate cases. In deciding how to approach this, consider
185189
adopting one or more of the following recommendations. (This assumes you have
186-
not concluded that a suggestion is a match to some existing third-party code.)
190+
not concluded that a suggestion is a match to some existing third-party code.)
187191

188192
In a commit message, or in a pull request/merge request description field,
189193
identify the code assistant that you used, perhaps elaborating on how it was
@@ -329,14 +333,14 @@ Here is simple example:
329333
```python
330334
def function_with_pep484_type_annotations(param1: int, param2: str) -> bool:
331335
"""Example function with PEP 484 type annotations.
332-
336+
333337
Args:
334338
param1: The first parameter.
335339
param2: The second parameter.
336-
340+
337341
Returns:
338342
The return value. True for success, False otherwise.
339-
343+
340344
Raises:
341345
ValueError: If the first parameter does not contain proper model name
342346
"""

0 commit comments

Comments
 (0)