mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-04 23:04:09 +02:00
Update onpush_superlinter.yml
This commit is contained in:
11
.github/workflows/onpush_superlinter.yml
vendored
11
.github/workflows/onpush_superlinter.yml
vendored
@@ -18,17 +18,14 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Checkout Repo
|
- name: Checkout Repo
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
- name: Run script file
|
- name: Make scripts executable
|
||||||
id: chmod
|
|
||||||
run: |
|
run: |
|
||||||
git ls-files --stage | grep ".sh$" | cut -f2 | xargs -d '\n' git update-index --chmod=+x && \
|
echo "Starting"
|
||||||
git grep --files-with-matches 'bash' | cut -f2 | xargs -d '\n' git update-index --chmod=+x
|
find . -type f -iname "*.sh" -exec chmod +x {} \;
|
||||||
shell: bash
|
|
||||||
- name: Commit if needed
|
- name: Commit if needed
|
||||||
if: steps.chmod.outputs.changed != ''
|
|
||||||
uses: EndBug/add-and-commit@v9
|
uses: EndBug/add-and-commit@v9
|
||||||
with:
|
with:
|
||||||
message: "Github bot : script executable"
|
message: "GitHub bot : scripts executable"
|
||||||
default_author: github_actions
|
default_author: github_actions
|
||||||
|
|
||||||
run-lint:
|
run-lint:
|
||||||
|
|||||||
Reference in New Issue
Block a user