mirror of
https://github.com/k8s-at-home/charts.git
synced 2025-01-23 23:49:12 +00:00
ci: Update labeler action
Signed-off-by: Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs <me@bjw-s.dev>
This commit is contained in:
parent
75a72e87dc
commit
8f10a87533
26
.github/labels.json
vendored
26
.github/labels.json
vendored
@ -1,26 +0,0 @@
|
|||||||
{
|
|
||||||
"labels": {
|
|
||||||
"kind:incorrect-title": {
|
|
||||||
"name": "kind:incorrect-title",
|
|
||||||
"colour": "#ffb700",
|
|
||||||
"description": "Incorrect title"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"issue": {
|
|
||||||
},
|
|
||||||
"pr": {
|
|
||||||
"kind:incorrect-title": {
|
|
||||||
"requires": 2,
|
|
||||||
"conditions": [
|
|
||||||
{
|
|
||||||
"type": "creatorMatches",
|
|
||||||
"pattern": "^(?!renovate).+"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "titleMatches",
|
|
||||||
"pattern": "^(?!\\[[a-z0-9]+\\]\\s[A-Za-z0-9].+).+"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
6
.github/workflows/charts-lint-test.yaml
vendored
6
.github/workflows/charts-lint-test.yaml
vendored
@ -107,7 +107,7 @@ jobs:
|
|||||||
- name: Install Helm
|
- name: Install Helm
|
||||||
uses: azure/setup-helm@v1
|
uses: azure/setup-helm@v1
|
||||||
with:
|
with:
|
||||||
version: v3.5.3
|
version: v3.6.3
|
||||||
|
|
||||||
- uses: actions/setup-python@v2
|
- uses: actions/setup-python@v2
|
||||||
with:
|
with:
|
||||||
@ -174,7 +174,7 @@ jobs:
|
|||||||
- name: Install Helm
|
- name: Install Helm
|
||||||
uses: azure/setup-helm@v1
|
uses: azure/setup-helm@v1
|
||||||
with:
|
with:
|
||||||
version: v3.5.3
|
version: v3.6.3
|
||||||
|
|
||||||
- name: Install Ruby
|
- name: Install Ruby
|
||||||
uses: ruby/setup-ruby@v1
|
uses: ruby/setup-ruby@v1
|
||||||
@ -219,7 +219,7 @@ jobs:
|
|||||||
- name: Install Helm
|
- name: Install Helm
|
||||||
uses: azure/setup-helm@v1
|
uses: azure/setup-helm@v1
|
||||||
with:
|
with:
|
||||||
version: v3.5.3
|
version: v3.6.3
|
||||||
|
|
||||||
- uses: actions/setup-python@v2
|
- uses: actions/setup-python@v2
|
||||||
with:
|
with:
|
||||||
|
49
.github/workflows/metadata-label-issues-prs.yaml
vendored
49
.github/workflows/metadata-label-issues-prs.yaml
vendored
@ -8,7 +8,7 @@ on:
|
|||||||
- edited
|
- edited
|
||||||
- closed
|
- closed
|
||||||
- reopened
|
- reopened
|
||||||
pull_request:
|
pull_request_target:
|
||||||
types:
|
types:
|
||||||
- opened
|
- opened
|
||||||
- edited
|
- edited
|
||||||
@ -17,11 +17,6 @@ on:
|
|||||||
- ready_for_review
|
- ready_for_review
|
||||||
- synchronize
|
- synchronize
|
||||||
|
|
||||||
permissions:
|
|
||||||
contents: read
|
|
||||||
issues: write
|
|
||||||
pull-requests: write
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
label:
|
label:
|
||||||
name: Label issues and pull requests
|
name: Label issues and pull requests
|
||||||
@ -33,10 +28,42 @@ jobs:
|
|||||||
app_id: ${{ secrets.K8S_AT_HOME_APP_ID }}
|
app_id: ${{ secrets.K8S_AT_HOME_APP_ID }}
|
||||||
private_key: ${{ secrets.K8S_AT_HOME_APP_PRIVATE_KEY }}
|
private_key: ${{ secrets.K8S_AT_HOME_APP_PRIVATE_KEY }}
|
||||||
|
|
||||||
- uses: actions/checkout@v2
|
- uses: Videndum/label-mastermind@2.1.1
|
||||||
with:
|
|
||||||
token: ${{ steps.get-app-token.outputs.token }}
|
|
||||||
|
|
||||||
- uses: IvanFon/super-labeler-action@v1
|
|
||||||
with:
|
with:
|
||||||
github-token: ${{ steps.get-app-token.outputs.token }}
|
github-token: ${{ steps.get-app-token.outputs.token }}
|
||||||
|
configJSON: |
|
||||||
|
{
|
||||||
|
"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