ci: backport & labeler config

This commit is contained in:
raf 2025-05-05 10:45:33 +03:00
commit 7d191a350d
Signed by: NotAShelf
GPG key ID: 29D95B64378DB4BF
3 changed files with 109 additions and 0 deletions

21
.github/workflows/labeler.yml vendored Normal file
View file

@ -0,0 +1,21 @@
name: "Label PR"
on:
pull_request_target:
types: [edited, opened, synchronize, reopened]
permissions:
contents: read
pull-requests: write
jobs:
labels:
name: "Label PR"
runs-on: ubuntu-latest
if: "!contains(github.event.pull_request.title, '[skip ci]')"
steps:
- uses: actions/labeler@v5
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
configuration-path: .github/labeler.yml
sync-labels: true