add GrantBirki/json-yaml-validate

This commit is contained in:
GrantBirki 2023-10-31 17:33:49 -06:00
parent 0aa0af1e02
commit 5fd885c701
No known key found for this signature in database
GPG Key ID: 9029BBCCC15C6F8C
2 changed files with 25 additions and 0 deletions

2
.github/config/exclude.txt vendored Normal file
View File

@ -0,0 +1,2 @@
# gitignore style exclude file for the GrantBirki/json-yaml-validate Action
.github/

View File

@ -0,0 +1,23 @@
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@v4
- name: actions-config-validation
uses: GrantBirki/json-yaml-validate@3add42f5fa8bfff04a3fe664d27a316736257ef1 # pin@v2.3.1
with:
comment: "true" # enable comment mode
exclude_file: ".github/config/exclude.txt"