Skip to content

Instantly share code, notes, and snippets.

@emmadesilva
Created June 23, 2024 08:28
Show Gist options
  • Select an option

  • Save emmadesilva/36eb140123f7a8140642df415ce1ff5c to your computer and use it in GitHub Desktop.

Select an option

Save emmadesilva/36eb140123f7a8140642df415ce1ff5c to your computer and use it in GitHub Desktop.
Simple YAML Linter/Validator Workflow for GitHub Actions
name: Validate YAML
on:
push:
pull_request:
jobs:
validate-yaml:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Validate YAML file
run: yamllint data.yml
@emmadesilva
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment