diff --git a/.github/workflows/weekly_bashbeautify.yaml b/.github/workflows/weekly_bashbeautify.yaml index 8a79cf24e..ebf1932c1 100644 --- a/.github/workflows/weekly_bashbeautify.yaml +++ b/.github/workflows/weekly_bashbeautify.yaml @@ -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: