-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a workflow to validate YAML files
The intent is that this should run on a pull request and be required to pass before the pull request can be merged. Signed-off-by: Dave Thaler <[email protected]>
- Loading branch information
Showing
7 changed files
with
156 additions
and
124 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# For documentation on the github environment, see | ||
# https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners | ||
# | ||
# For documentation on the syntax of this file, see | ||
# https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions | ||
name: Validate-YAML | ||
|
||
on: | ||
push: | ||
branches: [main, next-minor, next-patch] | ||
pull_request: | ||
branches: [main, next-minor, next-patch] | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
validate-yaml: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout GEDCOM.io | ||
uses: actions/checkout@v4 | ||
|
||
- name: Validate YAML | ||
run: yamllint .yamllint.yml _config.yml _config.dev.yml yaml-schema.yaml _data/navigation.yml .github/dependabot.yml .github/workflows/update-files.yml .github/workflows/validate-yaml.yml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# Configuration file for yamllint. For documentation, see | ||
# https://yamllint.readthedocs.io/en/stable/configuration.html | ||
|
||
extends: default | ||
|
||
rules: | ||
line-length: disable |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,4 +2,4 @@ | |
|
||
url: http://127.0.0.1:4000 | ||
remote_theme: false | ||
theme: minimal-mistakes-jekyll | ||
theme: minimal-mistakes-jekyll |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters