Update onpush_chmod.yaml

This commit is contained in:
Alexandre
2022-06-16 06:56:33 +02:00
committed by GitHub
parent a516099627
commit 5c5e74c213

View File

@@ -18,9 +18,9 @@ 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` )
done
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
if: steps.calibre.outputs.markdown != ''