-
Notifications
You must be signed in to change notification settings - Fork 931
41 lines (39 loc) · 943 Bytes
/
triage.yml
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
38
39
40
41
name: Triaging
on:
pull_request_target:
issues:
types:
- labeled
- unlabeled
permissions:
contents: read
jobs:
label:
if: github.event.pull_request
permissions:
contents: read # for actions/labeler to determine modified files
pull-requests: write # for actions/labeler to add labels to PRs
name: PR labels
runs-on: ubuntu-22.04
steps:
- uses: actions/labeler@v5
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
sync-labels: true
notify:
name: Notify
permissions:
contents: read
pull-requests: write
issues: write
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Notify
uses: iamfj/action-label-notification@v1.0.0
with:
token: ${{ secrets.GITHUB_TOKEN }}
mapping: >
- label: Documentation
recipients:
- '@mionaalex'