Skip to content
Merged
24 changes: 24 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
kind/docs:
- **/*.md
- docs/**/*

kind/ui:
- web_src/**/*
- all: ["templates/**/*", "!templates/swagger/v1_json.tmpl"]

kind/api:
- templates/swagger/v1_json.tmpl

kind/build:
- Makefile
- Dockerfile
- Dockerfile.rootless
- docker/**
- webpack.config.js

kind/lint:
- .eslintrc.yaml
- .golangci.yml
- .markdownlint.yaml
- .spectral.yaml
- .stylelintrc.yaml
21 changes: 21 additions & 0 deletions .github/workflows/pull-labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: labeler

on:
pull_request_target:
types: [opened, synchronize, reopened]

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true

jobs:
label:
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: write
steps:
- uses: actions/labeler@v4
with:
dot: true
sync-labels: true