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