mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-27 10:54:14 +02:00
Update onpush_builder.yaml
This commit is contained in:
22
.github/workflows/onpush_builder.yaml
vendored
22
.github/workflows/onpush_builder.yaml
vendored
@@ -14,8 +14,30 @@ on:
|
|||||||
- "**/config.*"
|
- "**/config.*"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
make-executable:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout Repo
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
|
- name: Make scripts executable
|
||||||
|
run: |
|
||||||
|
echo "Starting"
|
||||||
|
git config core.filemode true
|
||||||
|
# shellcheck disable=SC2086,SC2046
|
||||||
|
#git update-index --chmod=+x $(find . -type f -iname "*.sh")
|
||||||
|
chmod u+x $(find . -type f -iname "*.sh")
|
||||||
|
#git commit -am "fixing the script permissions..."
|
||||||
|
- name: Commit if needed
|
||||||
|
uses: EndBug/add-and-commit@v9
|
||||||
|
with:
|
||||||
|
commit: -u
|
||||||
|
message: "GitHub bot : scripts executable"
|
||||||
|
default_author: github_actions
|
||||||
|
|
||||||
check-addon-changes:
|
check-addon-changes:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
needs: make-executable
|
||||||
outputs:
|
outputs:
|
||||||
changedAddons: ${{ steps.filter.outputs.changes }}
|
changedAddons: ${{ steps.filter.outputs.changes }}
|
||||||
steps:
|
steps:
|
||||||
|
|||||||
Reference in New Issue
Block a user