diff --git a/.github/workflows/reformat-sql.yml b/.github/workflows/reformat-sql.yml index 6cb9b66d..777b0422 100644 --- a/.github/workflows/reformat-sql.yml +++ b/.github/workflows/reformat-sql.yml @@ -26,14 +26,17 @@ jobs: runs-on: [self-hosted, linux] steps: - - run: sudo chown -R "$USER:$USER" "$GITHUB_WORKSPACE" - - uses: actions/checkout@v4 + - name: "Initialise Workspace" + run: sudo chown -R "$USER:$USER" "$GITHUB_WORKSPACE" + - name: 'Checkout Repository' + uses: actions/checkout@v4 with: fetch-depth: 0 token: ${{secrets.SOURCE_PUSH_TOKEN}} # - name: Reformat # uses: credfeto/action-sql-format@v1.4.1 - - uses: stefanzweifel/git-auto-commit-action@v5.0.0 + - name: "Commit Changes" + uses: stefanzweifel/git-auto-commit-action@v5.0.0 with: commit_message: "[Reformat] SQL Files to common format" file_pattern: "*.sql"