Skip to content

Remove SLES 12 due to EOL #47

Remove SLES 12 due to EOL

Remove SLES 12 due to EOL #47

Workflow file for this run

name: Validate YAML
on:
push:
branches: [ "main" ]
paths:
- '**/*.yaml'
- '**/*.yml'
pull_request:
branches: [ "main" ]
paths:
- '**/*.yaml'
- '**/*.yml'
workflow_dispatch:
jobs:
yaml-syntax-check:
if: ${{ ( github.repository_owner == 'nginx' || github.repository_owner == 'nginxinc' ) }}
runs-on: ubuntu-24.04
steps:
- name: checkout v4
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: validate yaml files
run: |
for y in $(find . -type f -name "*.yaml" -or -name "*.yml"); do
yq '.' $y;
done