Skip to content

Commit

Permalink
make workflow fail also for invalid json file
Browse files Browse the repository at this point in the history
Signed-off-by: Simon L. <[email protected]>
  • Loading branch information
szaimen committed Jun 27, 2024
1 parent 16f3acd commit ffcfc06
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/json-validator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,6 @@ jobs:
for file in "${JSON_FILES[@]}"; do
json validate --schema-file=php/containers-schema.json --document-file="$file" 2>&1 | tee -a ./json-validator.log
done
if grep -q "document does not validate with schema." ./json-validator.log; then
if grep -q "document does not validate with schema.\|invalid JSONFile" ./json-validator.log; then
exit 1
fi
10 changes: 9 additions & 1 deletion community-containers/makemkv/makemkv.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,19 @@
"writeable": false
},
{
"source": "%NEXTCLOUD_MOUNT%", --> add note that this needs to be configured, else it will discard it.
"source": "%NEXTCLOUD_MOUNT%", --> add note to readme that this needs to be configured, else it will discard it.
"destination": "/output", --> add to readme how to configure this in the makemkv gui (so that e.g. a subdir can be used)
"writeable": true
}
],
"environment": [
"WEB_AUTHENTICATION=1",
"WEB_AUTHENTICATION_USERNAME=root",
"WEB_AUTHENTICATION_PASSWORD=%MAKEMKV_PASSWORD%" --> add note to readme how to retreive it

Check failure on line 38 in community-containers/makemkv/makemkv.json

View workflow job for this annotation

GitHub Actions / Check spelling

retreive ==> retrieve
],
"secrets": [
"MAKEMKV_PASSWORD"
],
"backup_volumes": [
"nextcloud_aio_makemkv"
],
Expand Down

0 comments on commit ffcfc06

Please sign in to comment.