mirror of
https://github.com/k8s-at-home/charts.git
synced 2025-01-23 23:49:12 +00:00
ci: Update labeler workflow
Signed-off-by: Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs <me@bjw-s.dev>
This commit is contained in:
parent
a66ace3641
commit
25e2c34582
10
.github/workflows/metadata-label-issues-prs.yaml
vendored
10
.github/workflows/metadata-label-issues-prs.yaml
vendored
@ -32,9 +32,10 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
GITHUB_TOKEN: ${{ steps.get-app-token.outputs.token }}
|
GITHUB_TOKEN: ${{ steps.get-app-token.outputs.token }}
|
||||||
configJSON: |
|
configJSON: |
|
||||||
|
{
|
||||||
"labels": {
|
"labels": {
|
||||||
"meta-incorrect-title": {
|
"kind:incorrect-title": {
|
||||||
"name": "meta-incorrect-title",
|
"name": "kind:incorrect-title",
|
||||||
"colour": "#ffb700",
|
"colour": "#ffb700",
|
||||||
"description": "Incorrect title"
|
"description": "Incorrect title"
|
||||||
}
|
}
|
||||||
@ -48,7 +49,7 @@ jobs:
|
|||||||
},
|
},
|
||||||
"pr": {
|
"pr": {
|
||||||
"labels": {
|
"labels": {
|
||||||
"meta-incorrect-title": {
|
"kind:incorrect-title": {
|
||||||
"requires": 2,
|
"requires": 2,
|
||||||
"conditions": [
|
"conditions": [
|
||||||
{
|
{
|
||||||
@ -57,7 +58,7 @@ jobs:
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "titleMatches",
|
"type": "titleMatches",
|
||||||
"pattern": "^(?!\\[[a-z0-9]+\\]\\s[A-Z0-9].+).+"
|
"pattern": "^(?!\[[a-z0-9]+\]\s[A-Z0-9].+).+"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
@ -65,3 +66,4 @@ jobs:
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user