Skip to content

chore: add tim-mwangi as a codeowner (#66) #449

chore: add tim-mwangi as a codeowner (#66)

chore: add tim-mwangi as a codeowner (#66) #449

name: Validate GitHub Actions Workflows
on:
push:
pull_request:
# See: https://docs.github.com/en/free-pro-team@latest/actions/reference/events-that-trigger-workflows#workflow_dispatch
workflow_dispatch:
jobs:
validate:
runs-on: ubuntu-20.04
steps:
- name: Checkout local repository
uses: actions/checkout@v2
# See: https://github.com/ajv-validator/ajv-cli/blob/master/README.md
- name: Validate GitHub Actions workflows
run: |
npx -p ajv-cli@4.0.1 ajv -s "./.github/schemas/github-action.json" -d "**/*.{yml,yaml}"