From 355c3ccd411f9c26fac2082383c8167e0f148496 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Wed, 16 Mar 2022 10:13:54 +0100 Subject: [PATCH] Create weekly_bashbeautify.yaml --- .github/workflows/weekly_bashbeautify.yaml | 29 ++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/weekly_bashbeautify.yaml diff --git a/.github/workflows/weekly_bashbeautify.yaml b/.github/workflows/weekly_bashbeautify.yaml new file mode 100644 index 000000000..e76de84f9 --- /dev/null +++ b/.github/workflows/weekly_bashbeautify.yaml @@ -0,0 +1,29 @@ +name: Weekly bash beautify + +on: + schedule: + - cron: "0 0 * * 0" + workflow_dispatch: + +jobs: + beautify: + runs-on: ubuntu-latest + + steps: + - name: Checkout + uses: actions/checkout@v2 + with: + ref: ${{ github.head_ref }} + + - name: Run beautysh + uses: illvart/beautysh-action@latest + with: + # Pass beautysh options in args, for example: + args: '**/*.sh --indent-size 4' + + - name: Create New Pull Request If Needed + uses: peter-evans/create-pull-request@v3 + with: + title: "Apply beautysh changes" + branch-suffix: timestamp + commit-message: Beautify bash