forked from microsoft/FluidFramework
-
Notifications
You must be signed in to change notification settings - Fork 0
29 lines (28 loc) · 966 Bytes
/
pr-labeler.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
name: "Pull Request Labeler"
on:
pull_request_target:
types: [ opened, synchronize, reopened ]
jobs:
paths_label:
runs-on: ubuntu-latest
name: Label based on file paths
steps:
- uses: actions/labeler@5c7539237e04b714afd8ad9b4aed733815b9fab4 # [email protected]
with:
configuration-path: ".github/actions-labeler.yml"
repo-token: "${{ secrets.GITHUB_TOKEN }}"
sync-labels: true # add/remove labels as modified paths in the PR change
branches_label:
runs-on: ubuntu-latest
name: Label base branches
steps:
- uses: srvaroa/labeler@97fabbad5804e8a22d5f027aa94c98614facb571 # pin@master
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
external_label:
runs-on: ubuntu-latest
name: Label external PRs
steps:
- uses: tylerbutler/labelmaker-action@49487085eebc5be6b766198e231f0688e4b4a7c2 # pin@main
with:
token: "${{ secrets.ORG_TOKEN }}"