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" )