Skip to content
Snippets Groups Projects
Unverified Commit 3598b814 authored by HonkingGoose's avatar HonkingGoose Committed by GitHub
Browse files

docs: recommend set commitMessageTopic with packageRules (#19689)

parent f40b6438
No related branches found
No related tags found
No related merge requests found
...@@ -408,8 +408,21 @@ Usually left empty except for internal use (multiple base branches, and vulnerab ...@@ -408,8 +408,21 @@ Usually left empty except for internal use (multiple base branches, and vulnerab
## commitMessageTopic ## commitMessageTopic
This is used to alter `commitMessage` and `prTitle` without needing to copy/paste the whole string. You can use `commitMessageTopic` to change the `commitMessage` and `prTitle` without copy/pasting the whole string.
The "topic" is usually refers to the dependency being updated, e.g. `"dependency react"`. The "topic" usually refers to the dependency being updated, for example: `"dependency react"`.
We recommend you use `matchManagers` and `commitMessageTopic` in a `packageRules` array to set the commit message topic, like this:
```json
{
"packageRules": [
{
"matchManagers": ["github-actions"],
"commitMessageTopic": "{{depName}}"
}
]
}
```
## composerIgnorePlatformReqs ## composerIgnorePlatformReqs
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment