-
Notifications
You must be signed in to change notification settings - Fork 0
32 lines (29 loc) · 1.08 KB
/
labeler.yml
File metadata and controls
32 lines (29 loc) · 1.08 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# This workflow will triage pull requests and apply a label based on the
# paths that are modified in the pull request.
#
# To use this workflow, you will need to set up a .github/labeler.yml
# file with configuration. For more information, see:
# https://github.com/actions/labeler
# https://github.com/actions/labeler?tab=readme-ov-file#initial-set-up-of-the-labeler-action
# https://github.com/actions/labeler?tab=readme-ov-file#updating-major-version-of-the-labeler
name: Labeler
on:
- pull_request
# types: [opened, synchronize, reopened, edited, labeled, unlabeled]
jobs:
labeler:
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: write
issues: write
steps:
- uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4
with:
repository: ${{ github.repository }}
- uses: actions/labeler@8558fd74291d67161a8a78ce36a881fa63b766a9 # v5
with:
dot: true
sync-labels: true
configuration-path: .github/config/label.yml
repo-token: "${{ secrets.GITHUB_TOKEN }}"