@@ -21,10 +21,10 @@ jobs:
21
21
# If you want to use a config file, you can put its path or URL here, multiple files are also allowed (more info in the paragraphs below)
22
22
config-file : .github/labels.yml
23
23
# as URL:
24
- config-file : https://raw.githubusercontent.com/EndBug/label-sync /main/.github /labels.yml
24
+ config-file : https://raw.githubusercontent.com/EndBug/labels /main/labels.yml
25
25
# as multiple:
26
26
config-file : |
27
- https://raw.githubusercontent.com/EndBug/label-sync /main/.github /labels.yml
27
+ https://raw.githubusercontent.com/EndBug/labels /main/labels.yml
28
28
.github/labels.yml
29
29
30
30
# If you want to use a source repo, you can put is name here (only the owner/repo format is accepted)
@@ -97,7 +97,7 @@ This is how it would end up looking:
97
97
98
98
Note that `color` may be specified in either `000000` or `'#000000'` format. Mind the quotes when using yaml.
99
99
100
- If you want to see an actual config file, you can check out the one in this repo [here](. github/labels.yml).
100
+ If you want to see an actual config file, you can check out the one in this repo [here](https:// github.com/EndBug/labels/blob/main /labels.yml).
101
101
102
102
This action can either read a local file or fetch it from a custom URL.
103
103
If you want to use a URL make sure that the data field of the response contains JSON or YAML text that follows the structure above.
@@ -109,7 +109,7 @@ You can use the "raw" link that GitHub provides for the file:
109
109
- uses: EndBug/label-sync@v2
110
110
with:
111
111
# This is just an example, but any valid URL can be used
112
- config-file: 'https://raw.githubusercontent.com/EndBug/label-sync /main/.github /labels.yml'
112
+ config-file: 'https://raw.githubusercontent.com/EndBug/labels /main/labels.yml'
113
113
` ` `
114
114
115
115
You can also specify several config files (e.g. sync a set of "global" labels as well as a set of "local" labels) :
@@ -118,7 +118,7 @@ You can also specify several config files (e.g. sync a set of "global" labels as
118
118
- uses: EndBug/label-sync@v2
119
119
with:
120
120
config-file: |
121
- https://raw.githubusercontent.com/EndBug/label-sync /main/.github /labels.yml
121
+ https://raw.githubusercontent.com/EndBug/labels /main/labels.yml
122
122
.github/labels.yml
123
123
` ` `
124
124
0 commit comments