40bcfab28e
Chore: Add auto-milestone workflow for pull-requests (#71177)
This adds a new auto-milestone workflow that will set the milestone for
a PR when it is closed. This way, contributors no longer have to think
about milestone at all.
(cherry picked from commit 8ae92db53d)
43 lines
1.0 KiB
JSON
43 lines
1.0 KiB
JSON
[
|
|
{
|
|
"type": "check-label",
|
|
"title": "Backport Check",
|
|
"labels": {
|
|
"exists": "Backport enabled",
|
|
"notExists": "Backport decision needed",
|
|
"matches": [
|
|
"backport v*"
|
|
]
|
|
},
|
|
"skip": {
|
|
"message": "Backport skipped",
|
|
"matches": [
|
|
"backport",
|
|
"no-backport"
|
|
]
|
|
},
|
|
"targetUrl": "https://github.com/grafana/grafana/blob/main/contribute/merge-pull-request.md#should-the-pull-request-be-backported"
|
|
},
|
|
{
|
|
"type": "check-changelog",
|
|
"title": "Changelog Check",
|
|
"labels": {
|
|
"exists": "Changelog enabled",
|
|
"notExists": "Changelog decision needed",
|
|
"matches": [
|
|
"add to changelog"
|
|
]
|
|
},
|
|
"breakingChangeLabels": [
|
|
"breaking change"
|
|
],
|
|
"skip": {
|
|
"message": "Changelog skipped",
|
|
"matches": [
|
|
"no-changelog"
|
|
]
|
|
},
|
|
"targetUrl": "https://github.com/grafana/grafana/blob/main/contribute/merge-pull-request.md#include-in-changelog-and-release-notes"
|
|
}
|
|
]
|