mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-08-03 11:50:32 +02:00
Update weekly_bashbeautify.yaml
This commit is contained in:
14
.github/workflows/weekly_bashbeautify.yaml
vendored
14
.github/workflows/weekly_bashbeautify.yaml
vendored
@@ -14,13 +14,15 @@ jobs:
|
|||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
ref: ${{ github.head_ref }}
|
ref: ${{ github.head_ref }}
|
||||||
|
- uses: actions/setup-python@v1
|
||||||
- name: Run beautysh
|
- name: "Install beautify"
|
||||||
uses: illvart/beautysh-action@latest
|
uses: BSFishy/pip-action@v1
|
||||||
with:
|
with:
|
||||||
# Pass beautysh options in args, for example:
|
packages: |
|
||||||
args: '*/*/*.sh --indent-size 4'
|
beautysh
|
||||||
|
- name: "Run beautify"
|
||||||
|
run: |
|
||||||
|
for f in $(find / -name '*.sh'); do beautysh --indent-size 4 $f; done
|
||||||
- name: Create New Pull Request If Needed
|
- name: Create New Pull Request If Needed
|
||||||
uses: peter-evans/create-pull-request@v3
|
uses: peter-evans/create-pull-request@v3
|
||||||
with:
|
with:
|
||||||
|
|||||||
Reference in New Issue
Block a user