Skip linter-check for readmes (#4794)

* Exclude readmes from the linter
* Add env variable with exclusion to the linter yml
* Rename Ubuntu readmes to correspond with the other images
* Remove trailing space in ubuntu software generator
* Rename Ubuntu1804-README.md to Ubuntu1804-Readme.md
* Rename Ubuntu2004-README.md to Ubuntu2004-Readme.md
This commit is contained in:
Mikhail Timofeev
2021-12-22 17:34:53 +03:00
committed by GitHub
parent f274979207
commit 986530d6bb
6 changed files with 4 additions and 3 deletions

View File

@@ -29,6 +29,7 @@ jobs:
VALIDATE_JSON: true VALIDATE_JSON: true
VALIDATE_MARKDOWN: true VALIDATE_MARKDOWN: true
DEFAULT_BRANCH: ${{ github.base_ref }} DEFAULT_BRANCH: ${{ github.base_ref }}
FILTER_REGEX_EXCLUDE: .*images/*/.*-Readme.md
- name: Checking shebang lines in MacOS and Ubuntu releases. - name: Checking shebang lines in MacOS and Ubuntu releases.
run: ./images.CI/shebang-linter.ps1 run: ./images.CI/shebang-linter.ps1

View File

@@ -335,7 +335,7 @@
{ {
"type": "file", "type": "file",
"source": "{{user `image_folder`}}/Ubuntu-Readme.md", "source": "{{user `image_folder`}}/Ubuntu-Readme.md",
"destination": "{{template_dir}}/Ubuntu1804-README.md", "destination": "{{template_dir}}/Ubuntu1804-Readme.md",
"direction": "download" "direction": "download"
}, },
{ {

View File

@@ -336,7 +336,7 @@
{ {
"type": "file", "type": "file",
"source": "{{user `image_folder`}}/Ubuntu-Readme.md", "source": "{{user `image_folder`}}/Ubuntu-Readme.md",
"destination": "{{template_dir}}/Ubuntu2004-README.md", "destination": "{{template_dir}}/Ubuntu2004-Readme.md",
"direction": "download" "direction": "download"
}, },
{ {