From 485c90793fc407ff4a1bdbf6a39e91d096eec228 Mon Sep 17 00:00:00 2001 From: danielwerg <35052399+danielwerg@users.noreply.github.com> Date: Thu, 23 Feb 2023 07:49:24 +0300 Subject: [PATCH 1/2] docs: fix broken link --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 40d2d03..34d161a 100644 --- a/README.md +++ b/README.md @@ -97,7 +97,7 @@ This is how it would end up looking: Note that `color` may be specified in either `000000` or `'#000000'` format. Mind the quotes when using yaml. -If you want to see an actual config file, you can check out the one in this repo [here](.github/labels.yml). +If you want to see an actual config file, you can check out the one in this repo [here](.github/workflows/labels.yml). This action can either read a local file or fetch it from a custom URL. 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. From 86ef8c0a48e630ad9d17c242ac3b5321c48f533f Mon Sep 17 00:00:00 2001 From: danielwerg <35052399+danielwerg@users.noreply.github.com> Date: Thu, 23 Feb 2023 08:05:58 +0300 Subject: [PATCH 2/2] docs: Revert 485c907 and fix more broken links --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 34d161a..32c8009 100644 --- a/README.md +++ b/README.md @@ -21,10 +21,10 @@ jobs: # 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) config-file: .github/labels.yml # as URL: - config-file: https://raw.githubusercontent.com/EndBug/label-sync/main/.github/labels.yml + config-file: https://raw.githubusercontent.com/EndBug/labels/main/labels.yml # as multiple: config-file: | - https://raw.githubusercontent.com/EndBug/label-sync/main/.github/labels.yml + https://raw.githubusercontent.com/EndBug/labels/main/labels.yml .github/labels.yml # 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: Note that `color` may be specified in either `000000` or `'#000000'` format. Mind the quotes when using yaml. -If you want to see an actual config file, you can check out the one in this repo [here](.github/workflows/labels.yml). +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). This action can either read a local file or fetch it from a custom URL. 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: - uses: EndBug/label-sync@v2 with: # This is just an example, but any valid URL can be used - config-file: 'https://raw.githubusercontent.com/EndBug/label-sync/main/.github/labels.yml' + config-file: 'https://raw.githubusercontent.com/EndBug/labels/main/labels.yml' ``` 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 - uses: EndBug/label-sync@v2 with: config-file: | - https://raw.githubusercontent.com/EndBug/label-sync/main/.github/labels.yml + https://raw.githubusercontent.com/EndBug/labels/main/labels.yml .github/labels.yml ```