Update weekly_bashbeautify.yaml

This commit is contained in:
Alexandre
2022-03-16 10:27:36 +01:00
committed by GitHub
parent 3ff5348bae
commit 527d403a44

View File

@@ -14,13 +14,15 @@ jobs:
uses: actions/checkout@v2
with:
ref: ${{ github.head_ref }}
- name: Run beautysh
uses: illvart/beautysh-action@latest
- uses: actions/setup-python@v1
- name: "Install beautify"
uses: BSFishy/pip-action@v1
with:
# Pass beautysh options in args, for example:
args: '*/*/*.sh --indent-size 4'
packages: |
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
uses: peter-evans/create-pull-request@v3
with: