-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathlabeler.yml
59 lines (48 loc) · 1.71 KB
/
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
# Add 'root' label to any root file changes
# Quotation marks are required for the leading asterisk
root:
- changed-files:
- any-glob-to-any-file: '*'
# Add 'Documentation' label to any change to .md files within the entire repository
Documentation:
- changed-files:
- any-glob-to-any-file: '**/*.md'
# Add 'source' label to any change to src files within the source dir
source:
- all:
- changed-files:
- any-glob-to-any-file: 'src/**/*'
# Add 'pages' label to any changes within the entire repository
pages:
- changed-files:
- any-glob-to-any-file: 'pages/**/*'
# Add 'public' label to any changes within the entire repository
public:
- changed-files:
- any-glob-to-any-file: 'public/**/*'
# Add 'globals' label to any changes within the entire repository
globals:
- changed-files:
- any-glob-to-any-file: 'globals/**/*'
# Add 'firebase' label to any changes within the entire repository
firebase:
- changed-files:
- any-glob-to-any-file: 'firebase/**/*'
# Add 'context' label to any changes within the entire repository
context:
- changed-files:
- any-glob-to-any-file: 'context/**/*'
# Add 'workflows' label to any changes within the entire repository
workflows:
- changed-files:
- any-glob-to-any-file: '.github/**/*'
# Add 'devcontainer' label to any changes within the entire repository
devcontainer:
- changed-files:
- any-glob-to-any-file: '.devcontainer/**/*'
# Add 'feature' label to any PR where the head branch name starts with `feature` or has a `feature` section in the name
feature:
- head-branch: ['^feature', 'feature']
# Add 'release' label to any PR that is opened against the `main` branch
release:
- base-branch: 'main'