From bde3be04b59d262b466988510d43af21f6d7318e Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Tue, 15 Mar 2022 15:16:37 +0100 Subject: [PATCH] Update weekly_bashbeautify.yaml --- .github/workflows/weekly_bashbeautify.yaml | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/.github/workflows/weekly_bashbeautify.yaml b/.github/workflows/weekly_bashbeautify.yaml index dfcb1160e..f8ae916bd 100644 --- a/.github/workflows/weekly_bashbeautify.yaml +++ b/.github/workflows/weekly_bashbeautify.yaml @@ -1,10 +1,9 @@ -name: CI +name: Weekly bash beautify on: - pull_request: - push: - branches: - - master + schedule: + - cron: "0 0 * * 0" + workflow_dispatch: jobs: beautify: @@ -22,9 +21,9 @@ jobs: # Pass beautysh options in args, for example: args: '*.sh --indent-size 4' - - name: Commit changes - uses: stefanzweifel/git-auto-commit-action@v4 + - name: Create New Pull Request If Needed + uses: peter-evans/create-pull-request@v3 with: - commit_message: '[auto] ci: apply beautysh changes' - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + title: [auto] ci: apply beautysh changes + branch-suffix: timestamp + commit-message: Beautify bash