Update onpush_superlinter.yml

This commit is contained in:
Alexandre
2022-06-19 07:19:04 +02:00
committed by GitHub
parent a21fbac8df
commit e82266ec94

View File

@@ -1,4 +1,5 @@
# 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 can adjust the behavior by modifying this file.
@@ -21,8 +22,8 @@ jobs:
- name: Run script file
id: chmod
run: |
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` )
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)" )
done
shell: bash
- name: Create New Pull Request If Needed