mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-31 21:04:05 +02:00
Update onpush_superlinter.yml
This commit is contained in:
2
.github/workflows/onpush_superlinter.yml
vendored
2
.github/workflows/onpush_superlinter.yml
vendored
@@ -1,5 +1,4 @@
|
|||||||
# This workflow executes several linters on changed files based on languages used in your code base whenever
|
# This workflow executes several linters on changed files based on languages used in your code base whenever
|
||||||
# shellcheck disable=SC2086,SC2046,SC2044
|
|
||||||
# you push a code or open a pull request.
|
# you push a code or open a pull request.
|
||||||
#
|
#
|
||||||
# You can adjust the behavior by modifying this file.
|
# You can adjust the behavior by modifying this file.
|
||||||
@@ -22,6 +21,7 @@ jobs:
|
|||||||
- name: Run script file
|
- name: Run script file
|
||||||
id: chmod
|
id: chmod
|
||||||
run: |
|
run: |
|
||||||
|
# shellcheck disable=SC2086,SC2046,SC2044
|
||||||
for f in $(find . -name '*.sh' -o -regex './s?bin/[^/]+' -o -regex './usr/sbin/[^/]+' -o -regex './usr/lib/[^/]+'); do
|
for f in $(find . -name '*.sh' -o -regex './s?bin/[^/]+' -o -regex './usr/sbin/[^/]+' -o -regex './usr/lib/[^/]+'); do
|
||||||
( cd "$(dirname $f)" && git update-index --chmod=+x "$(basename $f)" )
|
( cd "$(dirname $f)" && git update-index --chmod=+x "$(basename $f)" )
|
||||||
done
|
done
|
||||||
|
|||||||
Reference in New Issue
Block a user