mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-10 18:01:03 +01: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.*"
|
||||
|
||||
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:
|
||||
runs-on: ubuntu-latest
|
||||
needs: make-executable
|
||||
outputs:
|
||||
changedAddons: ${{ steps.filter.outputs.changes }}
|
||||
steps:
|
||||
|
||||
Reference in New Issue
Block a user