Skip to content

Commit d588423

Browse files
authored
CI action to validate language JSON (#137)
1 parent 3f8e97b commit d588423

1 file changed

Lines changed: 24 additions & 0 deletions

File tree

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: json-validate
2+
on:
3+
push:
4+
branches:
5+
- main
6+
pull_request:
7+
workflow_dispatch:
8+
9+
permissions:
10+
contents: read
11+
pull-requests: write # enable write permissions for pull request comments
12+
13+
jobs:
14+
json-yaml-validate:
15+
runs-on: ubuntu-latest
16+
steps:
17+
- uses: actions/checkout@v5
18+
19+
- name: json-yaml-validate
20+
id: json-yaml-validate
21+
uses: GrantBirki/json-yaml-validate@v4.0.0
22+
with:
23+
comment: "true" # enable comment mode
24+
base_dir: "languages"

0 commit comments

Comments
 (0)