mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-11-24 07:14:04 +00:00
Merge pull request #2983 from GrantBirki/master
GitHub Actions - Validate json / yaml files 📁
This commit is contained in:
commit
2e1a0fe4d5
1 changed files with 25 additions and 0 deletions
25
.github/workflows/json-yaml-validate.yml
vendored
Normal file
25
.github/workflows/json-yaml-validate.yml
vendored
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
name: json-yaml-validate
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
pull_request:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
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 a new issue