mirror of
https://github.com/Stone-Red-Code/docs-desktop.git
synced 2026-09-04 23:43:39 +02:00
82 lines
2.5 KiB
JSON
82 lines
2.5 KiB
JSON
{
|
|
"version": 3,
|
|
"configRevision": 3,
|
|
|
|
"issue": {
|
|
"labeled": {
|
|
"processor-conditional": {
|
|
"type": "query",
|
|
"value": "length(Issue.labels[?contains(name, '/prod') || contains(name, '/tech')]) != `0`",
|
|
"processors": {
|
|
"processor-conditional": {
|
|
"type": "query",
|
|
"value": "length(Issue.labels[?name == 'doc-enhancement' || name == 'product-question' || name == 'in-progress' || name == 'test-issue' || name == 'kudos' || name == 'loc' || name == 'doc-bug' || name == 'product-feedback' || name == 'code-of-conduct' || name == 'support-request' || name == 'duplicate' || name == 'resolved-by-customer' || name == 'docs-experience' || name == 'doc-provided' || name == 'doc-idea' || name == 'needs-more-info']) != `0`",
|
|
"actions": {
|
|
"labels-remove": ":watch: Not Triaged"
|
|
},
|
|
"actions-failed": {
|
|
"labels-add": ":watch: Not Triaged"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"opened": {
|
|
"processor-default": {
|
|
"labels-add": [ ":watch: Not Triaged" ]
|
|
}
|
|
},
|
|
"closed": {
|
|
"processor-default": {
|
|
"labels-remove": "in-progress"
|
|
}
|
|
}
|
|
},
|
|
"pullrequest": {
|
|
"opened": {
|
|
"processor-default": {
|
|
"milestone-set": "![sprint]"
|
|
},
|
|
"processor-conditional": {
|
|
"type": "query",
|
|
"value": "PullRequest.base.ref != 'live'",
|
|
"processors": {
|
|
"processor-files": {
|
|
"changedfile": {
|
|
"(?i).*dotnet-desktop-guide\/framework\/wpf.*": {
|
|
"labels-add": "dotnet-framework/prod,dotnet-wpf/tech"
|
|
},
|
|
"(?i).*dotnet-desktop-guide\/framework\/winforms.*": {
|
|
"labels-add": "dotnet-framework/prod,dotnet-winforms/tech"
|
|
},
|
|
"(?i).*dotnet-desktop-guide\/net\/wpf.*": {
|
|
"labels-add": "dotnet-desktop/prod,dotnet-wpf/tech"
|
|
},
|
|
"(?i).*dotnet-desktop-guide\/net\/winforms.*": {
|
|
"labels-add": "dotnet-desktop/prod,dotnet-winforms/tech"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"comment": {
|
|
"created": {
|
|
"processor-comment": {
|
|
"body": {
|
|
"^#please-review$": {
|
|
"condition-1": {
|
|
"type": "query",
|
|
"value": "Issue.state == 'open' && Issue.user.id == Comment.user.id",
|
|
"actions": {
|
|
"labels-add": "changes-addressed"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|