-
Notifications
You must be signed in to change notification settings - Fork 2
30 lines (26 loc) · 870 Bytes
/
labeler.yaml
File metadata and controls
30 lines (26 loc) · 870 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
name: labeler
on:
pull_request:
types: [opened, reopened, synchronize]
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
permissions: {}
jobs:
labeler:
name: apply labels
timeout-minutes: 5
permissions:
contents: read
pull-requests: write # Required to add/remove labels on pull requests.
issues: write # Required because PR labels are issue labels in the API.
runs-on: [ubuntu-latest]
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
with:
persist-credentials: false
- uses: actions/labeler@634933edcd8ababfe52f92936142cc22ac488b1b # v6.0.1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
configuration-path: .github/labeler.yaml
sync-labels: true