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
62
.github/workflows/metadata-label-issues-prs.yaml
vendored
62
.github/workflows/metadata-label-issues-prs.yaml
vendored
@ -32,36 +32,38 @@ jobs:
|
||||
with:
|
||||
GITHUB_TOKEN: ${{ steps.get-app-token.outputs.token }}
|
||||
configJSON: |
|
||||
"labels": {
|
||||
"meta-incorrect-title": {
|
||||
"name": "meta-incorrect-title",
|
||||
"colour": "#ffb700",
|
||||
"description": "Incorrect title"
|
||||
}
|
||||
},
|
||||
"runners": [
|
||||
{
|
||||
"root": ".",
|
||||
"versioning": {
|
||||
"source": "milestones",
|
||||
"type": "other"
|
||||
},
|
||||
"pr": {
|
||||
"labels": {
|
||||
"meta-incorrect-title": {
|
||||
"requires": 2,
|
||||
"conditions": [
|
||||
{
|
||||
"type": "creatorMatches",
|
||||
"pattern": "^(?!renovate).+"
|
||||
},
|
||||
{
|
||||
"type": "titleMatches",
|
||||
"pattern": "^(?!\\[[a-z0-9]+\\]\\s[A-Z0-9].+).+"
|
||||
}
|
||||
]
|
||||
{
|
||||
"labels": {
|
||||
"kind:incorrect-title": {
|
||||
"name": "kind:incorrect-title",
|
||||
"colour": "#ffb700",
|
||||
"description": "Incorrect title"
|
||||
}
|
||||
},
|
||||
"runners": [
|
||||
{
|
||||
"root": ".",
|
||||
"versioning": {
|
||||
"source": "milestones",
|
||||
"type": "other"
|
||||
},
|
||||
"pr": {
|
||||
"labels": {
|
||||
"kind:incorrect-title": {
|
||||
"requires": 2,
|
||||
"conditions": [
|
||||
{
|
||||
"type": "creatorMatches",
|
||||
"pattern": "^(?!renovate).+"
|
||||
},
|
||||
{
|
||||
"type": "titleMatches",
|
||||
"pattern": "^(?!\[[a-z0-9]+\]\s[A-Z0-9].+).+"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user