charts/.github/workflows/metadata-label-issues-prs.yaml
Workflow config file is invalid. Please check your config file: EOF
Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs 5e5f23c69d
ci: Update CI status labeler
Signed-off-by: Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs <me@bjw-s.dev>
2022-02-03 21:57:55 +01:00

73 lines
2.1 KiB
YAML

# ---
# name: "Metadata: Label issues and pull requests"
# on:
# issues:
# types:
# - opened
# - edited
# - closed
# - reopened
# pull_request_target:
# types:
# - opened
# - edited
# - closed
# - reopened
# - ready_for_review
# - synchronize
# jobs:
# label:
# name: Label issues and pull requests
# runs-on: ubuntu-20.04
# steps:
# - name: Generate Token
# uses: tibdex/github-app-token@v1
# id: generate-token
# with:
# app_id: ${{ secrets.K8S_AT_HOME_APP_ID }}
# private_key: ${{ secrets.K8S_AT_HOME_APP_PRIVATE_KEY }}
# - uses: Videndum/label-mastermind@2.1.3
# with:
# GITHUB_TOKEN: ${{ steps.generate-token.outputs.token }}
# configJSON: |
# {
# "releaseMastermind": {
# "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.+).+"
# }
# ]
# }
# }
# }
# }
# ]
# }
# }