mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-10-01 01:25:45 -04:00
add json / yaml validate job
This commit is contained in:
parent
fbdeb30ce7
commit
e687698851
23
.github/workflows/json-yaml-validate.yml
vendored
Normal file
23
.github/workflows/json-yaml-validate.yml
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
name: json-yaml-validate
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
pull_request:
|
||||
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
|
Loading…
Reference in New Issue
Block a user