mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-09 17:15:57 +02:00
Update onpush_superlinter.yml
This commit is contained in:
5
.github/workflows/onpush_superlinter.yml
vendored
5
.github/workflows/onpush_superlinter.yml
vendored
@@ -1,4 +1,5 @@
|
|||||||
# 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.
|
||||||
@@ -21,8 +22,8 @@ jobs:
|
|||||||
- name: Run script file
|
- name: Run script file
|
||||||
id: chmod
|
id: chmod
|
||||||
run: |
|
run: |
|
||||||
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
|
||||||
shell: bash
|
shell: bash
|
||||||
- name: Create New Pull Request If Needed
|
- name: Create New Pull Request If Needed
|
||||||
|
|||||||
Reference in New Issue
Block a user