Skip to content

chore: use public ecr registry for downloading trivy databases #458

chore: use public ecr registry for downloading trivy databases

chore: use public ecr registry for downloading trivy databases #458

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 [email protected] ajv -s "./.github/schemas/github-action.json" -d "**/*.{yml,yaml}"