1
0
mirror of https://github.com/louislam/uptime-kuma.git synced 2025-01-24 03:48:40 +02:00
uptime-kuma/.github/workflows/json-yaml-validate.yml

28 lines
623 B
YAML
Raw Normal View History

name: json-yaml-validate
2023-03-26 22:34:25 +01:00
on:
push:
branches:
2023-03-26 22:35:00 +01:00
- master
2023-03-26 22:34:25 +01:00
pull_request:
2023-03-26 22:35:00 +01:00
branches:
- master
- 2.0.X
2023-03-26 22:34:25 +01: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
2023-03-30 11:46:28 +01:00
uses: GrantBirki/json-yaml-validate@v1.3.0
2023-03-26 22:34:25 +01:00
with:
comment: "true" # enable comment mode
2023-03-30 11:46:28 +01:00
exclude_file: ".github/config/exclude.txt" # gitignore style file for exclusions