diff --git a/.github/workflows/yaml-checks.yml b/.github/workflows/yaml-checks.yml new file mode 100644 index 0000000..553b929 --- /dev/null +++ b/.github/workflows/yaml-checks.yml @@ -0,0 +1,14 @@ +--- +name: yamllint +on: [push, pull_request] + +jobs: + yamllint: + runs-on: ubuntu-latest + container: + image: registry.opensuse.org/devel/openqa/containers/os-autoinst_dev + steps: + - uses: actions/checkout@v4 + - name: Validate yamls + run: | + yamllint --strict . diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e69de29 diff --git a/.yamlignore b/.yamlignore new file mode 120000 index 0000000..b509915 --- /dev/null +++ b/.yamlignore @@ -0,0 +1 @@ +external/os-autoinst-common/.yamlignore \ No newline at end of file diff --git a/.yamllint b/.yamllint new file mode 120000 index 0000000..dece13a --- /dev/null +++ b/.yamllint @@ -0,0 +1 @@ +external/os-autoinst-common/.yamllint \ No newline at end of file diff --git a/scenario-definitions.yaml b/scenario-definitions.yaml index 23ae69b..95228f4 100644 --- a/scenario-definitions.yaml +++ b/scenario-definitions.yaml @@ -1,3 +1,4 @@ +--- products: example: distri: "example"