name: CI on: pull_request: push: branches: [main] jobs: validate: runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v4 with: fetch-depth: 0 - name: Validate YAML uses: nwisbeta/validate-yaml-schema@v2.0.0 with: yamlSchemasJson: | { "https://json.schemastore.org/github-action.json": ["action.yml"] }