From a7c41e709c6a35807b4528d87edd4797deb5aa9c Mon Sep 17 00:00:00 2001 From: wdvxdr Date: Tue, 6 Apr 2021 13:18:29 +0800 Subject: [PATCH] ci: update email name --- .github/workflows/golint.yml | 5 +++-- coolq/api.go | 3 +-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/golint.yml b/.github/workflows/golint.yml index 9b35bb9..7f44693 100644 --- a/.github/workflows/golint.yml +++ b/.github/workflows/golint.yml @@ -15,10 +15,11 @@ jobs: version: latest - name: Commit back + if: github.repository_owner == 'Mrs4s' continue-on-error: true run: | - git config --local user.name 'Github Actions' - git config --local user.email 'github-actions@users.noreply.github.com' + git config --local user.name 'github-actions[bot]' + git config --local user.email '41898282+github-actions[bot]@users.noreply.github.com' git add --all git commit -m "ci(chore): Fix stylings" git push diff --git a/coolq/api.go b/coolq/api.go index 849611d..c13a70f 100644 --- a/coolq/api.go +++ b/coolq/api.go @@ -16,12 +16,11 @@ import ( "time" "unicode/utf8" - "github.com/Mrs4s/go-cqhttp/global" - "github.com/Mrs4s/MiraiGo/binary" "github.com/Mrs4s/MiraiGo/client" "github.com/Mrs4s/MiraiGo/message" "github.com/Mrs4s/MiraiGo/utils" + "github.com/Mrs4s/go-cqhttp/global" log "github.com/sirupsen/logrus" "github.com/tidwall/gjson" )