Skip to content

Prevent Naked Deploys #210

Prevent Naked Deploys

Prevent Naked Deploys #210

name: actions-config-validation
on:
push:
branches:
- main
pull_request:
workflow_dispatch:
permissions:
contents: read
pull-requests: write # enable write permissions for pull request comments
jobs:
actions-config-validation:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: actions-config-validation
uses: GrantBirki/json-yaml-validate@87b2d309a02f4942c5e602183eeea11008a640f9 # pin@v1.4.0
with:
comment: "true" # enable comment mode
yaml_schema: "__tests__/schemas/action.schema.yml"
exclude_file: ".github/config/exclude.txt"