[CI] Add dependabot support and labeler workflow (#162)

Add dependabot support and labeler workflow

---------

Signed-off-by: Yuanhao Ji <jiyuanhao@apache.org>
This commit is contained in:
Yuanhao Ji
2025-02-27 19:46:31 +08:00
committed by GitHub
parent 03dc5c01fd
commit 6aed83335c
4 changed files with 68 additions and 2 deletions

18
.github/workflows/labeler.yml vendored Normal file
View File

@@ -0,0 +1,18 @@
name: Pull Request Labeler
on: pull_request_target
jobs:
label:
name: Label
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: write
steps:
- name: Label the PR
uses: actions/labeler@v5
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
configuration-path: .github/labeler.yml
sync-labels: true