From c6994ade9477fdbf7e3dd6be85cc8bafff6e11b2 Mon Sep 17 00:00:00 2001 From: wdvxdr Date: Sun, 11 Jul 2021 15:30:46 +0800 Subject: [PATCH] chore(ci): fix commit back. --- .github/workflows/golint.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/golint.yml b/.github/workflows/golint.yml index f8e5dad..2d77d23 100644 --- a/.github/workflows/golint.yml +++ b/.github/workflows/golint.yml @@ -24,7 +24,7 @@ jobs: go test $(go list ./...) - name: Commit back - if: ${{ github.repository_owner == 'Mrs4s' && github.event.push }} + if: ${{ github.repository_owner == 'Mrs4s' && !github.event.pull_request }} continue-on-error: true run: | git config --local user.name 'github-actions[bot]'