mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-01 13:24:04 +02:00
Update weekly_sortjson.yaml
This commit is contained in:
2
.github/workflows/weekly_sortjson.yaml
vendored
2
.github/workflows/weekly_sortjson.yaml
vendored
@@ -19,7 +19,7 @@ jobs:
|
|||||||
for files in */*.json; do
|
for files in */*.json; do
|
||||||
echo "Sorting $files"
|
echo "Sorting $files"
|
||||||
jq --sort-keys . "$files" > config2.json && cat config2.json > "$files" && rm config2.json
|
jq --sort-keys . "$files" > config2.json && cat config2.json > "$files" && rm config2.json
|
||||||
echo "::set-output name=changed::1"
|
echo "changed=1" >> $GITHUB_OUTPUT
|
||||||
done
|
done
|
||||||
shell: bash
|
shell: bash
|
||||||
- name: Commit if needed
|
- name: Commit if needed
|
||||||
|
|||||||
Reference in New Issue
Block a user