Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions .github/pr-labeler-config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
version: 1
appendOnly: true
labels:
- label: "bugfix"
title: "(?i)fix|bug"
- label: "documentation"
title: "(?i)docs|documentation"
- label: "enhancement"
title: "(?i)feat|feature|enhance|improve"
- label: "plugin"
title: "(?i)plugin"
- label: "test"
title: "(?i)test"
20 changes: 20 additions & 0 deletions .github/workflows/pr-labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Auto Label PR

on:
pull_request:
branches: [ "main" ]
types: [opened, edited, reopened, synchronize]

jobs:
label-plugin-pr:
permissions:
contents: read
pull-requests: write
runs-on: ubuntu-latest
steps:
- name: Auto Apply Labels
uses: srvaroa/labeler@master
with:
config_path: .github/pr-labeler-config.yml
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}