use another labeler

pull/2343/head
René Werner 2023-02-25 10:01:26 +01:00
parent dc038d8233
commit af69fa5a56
3 changed files with 22 additions and 59 deletions

View File

@ -32,61 +32,6 @@ version-resolver:
- '🤖 Dependencies'
- '🧹 Updates'
default: patch
autolabeler:
- label: '📒 Documentation'
title:
- '/docs/i'
- '/doc:/i'
- '/\[doc\]/i'
- '/README/i'
- '/typos/i'
- '/comment/i'
- '/📚/i'
- '/📒/i'
- '/📝/i'
- '/documentation/i'
- label: '☢️ Bug'
title:
- '/fix/i'
- '/race/i'
- '/bug/i'
- '/missing/i'
- '/correct/i'
- '/🐛/i'
- '/☢/i'
- '/🩹/i'
- '/🚨/i'
- label: '🧹 Updates'
title:
- '/improve/i'
- '/update/i'
- '/refactor/i'
- '/deprecated/i'
- '/remove/i'
- '/unused/i'
- '/test/i'
- '/⚡/i'
- '/👷/i'
- '/🚧/i'
- '/♻️/i'
- '/🎨/i'
- '/🧪/i'
- '/🧹/i'
- label: '🤖 Dependencies'
title:
- '/bumb/i'
- '/dependencies/i'
- '/📦/i'
- '/🤖/i'
- label: '✏️ Feature'
title:
- '/feature/i'
- '/create/i'
- '/implement/i'
- '/add/i'
- '/🚀/i'
- '/✨/i'
- '/🔥/i'
template: |
$CHANGES

21
.github/workflows/auto-labeler.yml vendored Normal file
View File

@ -0,0 +1,21 @@
name: Auto labeler
on:
issues:
types: [ opened, edited, milestoned ]
pull_request_target:
types: [ opened ]
permissions:
contents: read
issues: write
pull-requests: write
statuses: write
checks: write
jobs:
labeler:
runs-on: ubuntu-latest
steps:
- name: Check Labels
id: labeler
uses: fuxingloh/multi-labeler@v1
with:
github-token: ${{secrets.GITHUB_TOKEN}}

View File

@ -5,10 +5,7 @@ on:
# branches to consider in the event; optional, defaults to all
branches:
- master
# pull_request event is required only for autolabeler
pull_request:
# Only following types are handled by the action, but one can default to all as well
types: [opened, reopened, synchronize]
- main
jobs:
update_release_draft: