|
1 |
| -# Add 'root' label to any root file changes |
2 |
| -# Quotation marks are required for the leading asterisk |
3 |
| -root: |
4 |
| - - changed-files: |
5 |
| - - any-glob-to-any-file: '*' |
6 |
| - |
7 |
| -# Add 'AnyChange' label to any changes within the entire repository |
8 |
| -AnyChange: |
9 |
| - - changed-files: |
10 |
| - - any-glob-to-any-file: '**' |
11 |
| - |
12 |
| -# Add 'Documentation' label to any change to .md files within the entire repository |
13 |
| -Documentation: |
14 |
| - - changed-files: |
15 |
| - - any-glob-to-any-file: '**/*.md' |
16 |
| - |
17 |
| -# Add 'source' label to any change to src files within the source dir EXCEPT for the docs sub-folder |
18 |
| -source: |
19 |
| - - all: |
20 |
| - - changed-files: |
21 |
| - - any-glob-to-any-file: 'src/**/*' |
22 |
| - |
23 |
| -# Add 'feature' label to any PR where the head branch name starts with `feature` or has a `feature` section in the name |
24 |
| -feature: |
25 |
| - - head-branch: ['^feature', 'feature'] |
26 |
| - |
27 |
| -# Add 'release' label to any PR that is opened against the `main` branch |
28 |
| -release: |
29 |
| - - base-branch: 'main' |
| 1 | +# Add 'root' label to any root file changes |
| 2 | +# Quotation marks are required for the leading asterisk |
| 3 | +root: |
| 4 | + - changed-files: |
| 5 | + - any-glob-to-any-file: '*' |
| 6 | + |
| 7 | +# Add 'Documentation' label to any change to .md files within the entire repository |
| 8 | +Documentation: |
| 9 | + - changed-files: |
| 10 | + - any-glob-to-any-file: '**/*.md' |
| 11 | + |
| 12 | +# Add 'source' label to any change to src files within the source dir |
| 13 | +source: |
| 14 | + - all: |
| 15 | + - changed-files: |
| 16 | + - any-glob-to-any-file: 'src/**/*' |
| 17 | + |
| 18 | +# Add 'pages' label to any changes within the entire repository |
| 19 | +pages: |
| 20 | +- changed-files: |
| 21 | + - any-glob-to-any-file: 'pages/**/*' |
| 22 | + |
| 23 | +# Add 'public' label to any changes within the entire repository |
| 24 | +public: |
| 25 | +- changed-files: |
| 26 | + - any-glob-to-any-file: 'public/**/*' |
| 27 | + |
| 28 | +# Add 'globals' label to any changes within the entire repository |
| 29 | +globals: |
| 30 | +- changed-files: |
| 31 | + - any-glob-to-any-file: 'globals/**/*' |
| 32 | + |
| 33 | +# Add 'firebase' label to any changes within the entire repository |
| 34 | +firebase: |
| 35 | +- changed-files: |
| 36 | + - any-glob-to-any-file: 'firebase/**/*' |
| 37 | + |
| 38 | +# Add 'context' label to any changes within the entire repository |
| 39 | +context: |
| 40 | +- changed-files: |
| 41 | + - any-glob-to-any-file: 'context/**/*' |
| 42 | + |
| 43 | +# Add 'workflows' label to any changes within the entire repository |
| 44 | +workflows: |
| 45 | +- changed-files: |
| 46 | + - any-glob-to-any-file: '.github/**/*' |
| 47 | + |
| 48 | +# Add 'devcontainer' label to any changes within the entire repository |
| 49 | +devcontainer: |
| 50 | +- changed-files: |
| 51 | + - any-glob-to-any-file: '.devcontainer/**/*' |
| 52 | + |
| 53 | +# Add 'feature' label to any PR where the head branch name starts with `feature` or has a `feature` section in the name |
| 54 | +feature: |
| 55 | + - head-branch: ['^feature', 'feature'] |
| 56 | + |
| 57 | +# Add 'release' label to any PR that is opened against the `main` branch |
| 58 | +release: |
| 59 | + - base-branch: 'main' |
0 commit comments