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 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: