mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-27 10:54:14 +02:00
Update onpush_superlinter.yml
This commit is contained in:
3
.github/workflows/onpush_superlinter.yml
vendored
3
.github/workflows/onpush_superlinter.yml
vendored
@@ -22,8 +22,7 @@ jobs:
|
|||||||
id: chmod
|
id: chmod
|
||||||
run: |
|
run: |
|
||||||
git ls-files --stage | grep ".sh$" | cut -f2 | xargs -d '\n' git update-index --chmod=+x && \
|
git ls-files --stage | grep ".sh$" | cut -f2 | xargs -d '\n' git update-index --chmod=+x && \
|
||||||
git grep --files-with-matches 'bash' | cut -f2 | xargs -d '\n' git update-index --chmod=+x && \
|
git grep --files-with-matches 'bash' | cut -f2 | xargs -d '\n' git update-index --chmod=+x
|
||||||
git commit -m "Changing file permissions"
|
|
||||||
shell: bash
|
shell: bash
|
||||||
- name: Commit if needed
|
- name: Commit if needed
|
||||||
if: steps.chmod.outputs.changed != ''
|
if: steps.chmod.outputs.changed != ''
|
||||||
|
|||||||
Reference in New Issue
Block a user