-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (32 loc) · 871 Bytes
/
Copy pathlabeler.yml
File metadata and controls
37 lines (32 loc) · 871 Bytes
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
33
34
35
36
37
name: GitHub - Label PRs
on:
pull_request_target
permissions:
contents: read
jobs:
triage:
permissions:
# for actions/labeler to determine modified files
contents: read
# for actions/labeler to add labels to PRs
pull-requests: write
runs-on: ubuntu-20.04
steps:
- uses: actions/labeler@ba790c862c380240c6d5e7427be5ace9a05c754b # v4
with:
repo-token: '${{ secrets.GITHUB_TOKEN }}'
sync-labels: true
# name: "Issue Labeler"
# on:
# issues:
# types: [opened, edited]
# jobs:
# triage:
# runs-on: ubuntu-latest
# steps:
# - uses: github/issue-labeler@v2.5 #May not be the latest version
# with:
# repo-token: "${{ secrets.TOKEN }}"
# configuration-path: .github/labeler.yml
# not-before: 2023-01-15T02:54:32Z
# enable-versioned-regex: 0