From 861948bcf346ead8fd47d7c07821b5930c44f051 Mon Sep 17 00:00:00 2001 From: Andy Hsu Date: Fri, 4 Aug 2023 13:24:07 +0800 Subject: [PATCH] revert: "ci: auto gofmt for pull request" [skip ci] This reverts commit 8b353da0d283fdef739e0b6f17536afce2cd93cf. --- .github/workflows/pr_auto_gofmt.yml | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 .github/workflows/pr_auto_gofmt.yml diff --git a/.github/workflows/pr_auto_gofmt.yml b/.github/workflows/pr_auto_gofmt.yml deleted file mode 100644 index 56836154..00000000 --- a/.github/workflows/pr_auto_gofmt.yml +++ /dev/null @@ -1,19 +0,0 @@ -name: Golang Formatter -on: [pull_request] -jobs: - prettier: - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v3 - with: - # Make sure the actual branch is checked out when running on pull requests - ref: ${{ github.head_ref }} - # This is important to fetch the changes to the previous commit - fetch-depth: 0 - - - name: Format code - uses: iamnotaturtle/auto-gofmt@v2.1.0 - with: - commit_message: "style: format code with gofmt" - only_changed: True \ No newline at end of file