2023-03-26 17:34:25 -04:00
|
|
|
name: json-yaml-validate
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
2023-03-26 17:35:00 -04:00
|
|
|
- master
|
2023-03-26 17:34:25 -04:00
|
|
|
pull_request:
|
2023-03-26 17:35:00 -04:00
|
|
|
branches:
|
|
|
|
- master
|
2023-03-26 17:34:25 -04:00
|
|
|
workflow_dispatch:
|
|
|
|
|
|
|
|
permissions:
|
|
|
|
contents: read
|
|
|
|
pull-requests: write # enable write permissions for pull request comments
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
json-yaml-validate:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v3
|
|
|
|
|
|
|
|
- name: json-yaml-validate
|
|
|
|
id: json-yaml-validate
|
|
|
|
uses: GrantBirki/json-yaml-validate@v1.2.0
|
|
|
|
with:
|
|
|
|
comment: "true" # enable comment mode
|