mirror of
https://github.com/k8s-at-home/charts.git
synced 2025-01-24 07:59:02 +00:00
ci: Update labeler workflow
Signed-off-by: Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs <me@bjw-s.dev>
This commit is contained in:
parent
25e2c34582
commit
a5b459cdfc
62
.github/workflows/metadata-label-issues-prs.yaml
vendored
62
.github/workflows/metadata-label-issues-prs.yaml
vendored
@ -33,37 +33,39 @@ jobs:
|
|||||||
GITHUB_TOKEN: ${{ steps.get-app-token.outputs.token }}
|
GITHUB_TOKEN: ${{ steps.get-app-token.outputs.token }}
|
||||||
configJSON: |
|
configJSON: |
|
||||||
{
|
{
|
||||||
"labels": {
|
"releaseMastermind": {
|
||||||
"kind:incorrect-title": {
|
"labels": {
|
||||||
"name": "kind:incorrect-title",
|
"kind:incorrect-title": {
|
||||||
"colour": "#ffb700",
|
"name": "kind:incorrect-title",
|
||||||
"description": "Incorrect title"
|
"colour": "#ffb700",
|
||||||
}
|
"description": "Incorrect title"
|
||||||
},
|
}
|
||||||
"runners": [
|
},
|
||||||
{
|
"runners": [
|
||||||
"root": ".",
|
{
|
||||||
"versioning": {
|
"root": ".",
|
||||||
"source": "milestones",
|
"versioning": {
|
||||||
"type": "other"
|
"source": "milestones",
|
||||||
},
|
"type": "other"
|
||||||
"pr": {
|
},
|
||||||
"labels": {
|
"pr": {
|
||||||
"kind:incorrect-title": {
|
"labels": {
|
||||||
"requires": 2,
|
"kind:incorrect-title": {
|
||||||
"conditions": [
|
"requires": 2,
|
||||||
{
|
"conditions": [
|
||||||
"type": "creatorMatches",
|
{
|
||||||
"pattern": "^(?!renovate).+"
|
"type": "creatorMatches",
|
||||||
},
|
"pattern": "^(?!renovate).+"
|
||||||
{
|
},
|
||||||
"type": "titleMatches",
|
{
|
||||||
"pattern": "^(?!\[[a-z0-9]+\]\s[A-Z0-9].+).+"
|
"type": "titleMatches",
|
||||||
}
|
"pattern": "^(?!\\[[a-z0-9]+\\]\\s[A-Z0-9].+).+"
|
||||||
]
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
]
|
||||||
]
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user