slug
Configuration
name: slug
type: string
required: no
{
"name": "company/project",
"extra": {
"violinist": {
"rules": [
{
"name": "Symfony packages",
"slug": "symfony-group",
"matchRules": [
{
"type": "names",
"values": ["symfony/*"]
}
],
"config": {
"automerge": 1
}
}
]
}
}
}
A slug identifier for the rule. This is an optional field that can be used to uniquely identify a rule.
Explanation
The slug property provides a machine-friendly identifier for the rule. While optional, it can be useful for:
- Programmatic identification of rules
- URL-friendly identifiers
- Tracking and logging purposes
The slug should be lowercase and use hyphens to separate words (kebab-case).
Example
{
"name": "company/project",
"extra": {
"violinist": {
"rules": [
{
"name": "Laravel Development Tools",
"slug": "laravel-dev-tools",
"matchRules": [
{
"type": "names",
"values": ["laravel/telescope", "laravel/horizon"]
}
],
"config": {
"labels": ["laravel-dev"]
}
}
]
}
}
}