diff --git a/.github/workflows/dev-check.yml b/.github/workflows/dev-check.yml index 43c7bb1..c7545bf 100644 --- a/.github/workflows/dev-check.yml +++ b/.github/workflows/dev-check.yml @@ -47,7 +47,7 @@ jobs: if: steps.git-check.outputs.modified == 'true' run: | git config --global user.name 'Duplo Github Bot' - git config --global user.email 'joe+github-bot@duplocloud.net' + git config --global user.email 'infra+github-bot@duplocloud.net' git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }} git commit -am "lint: go fmt" git push diff --git a/.github/workflows/finish-release.yml b/.github/workflows/finish-release.yml index 864721c..28aca78 100644 --- a/.github/workflows/finish-release.yml +++ b/.github/workflows/finish-release.yml @@ -7,7 +7,7 @@ on: - master env: git_user: duplo-bot - git_email: joe+github-bot@duplocloud.net + git_email: infra+github-bot@duplocloud.net jobs: finish-release: if: github.event.pull_request.merged == true && (startsWith(github.head_ref, 'refs/heads/release/') || startsWith(github.head_ref, 'release/')) diff --git a/.github/workflows/start-release.yml b/.github/workflows/start-release.yml index fcfd015..2a5952f 100644 --- a/.github/workflows/start-release.yml +++ b/.github/workflows/start-release.yml @@ -8,7 +8,7 @@ on: default: '' # default to current version env: git_user: duplo-bot - git_email: joe+github-bot@duplocloud.net + git_email: infra+github-bot@duplocloud.net jobs: start-release: runs-on: ubuntu-latest diff --git a/.goreleaser.yml b/.goreleaser.yml index 21a569e..4579fd0 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -81,7 +81,7 @@ brews: url_template: "https://github.com/duplocloud/duplo-jit/releases/download/{{ .Tag }}/{{ .ArtifactName }}" commit_author: name: duplo-bot - email: joe+github-bot@duplocloud.net + email: infra+github-bot@duplocloud.net commit_msg_template: "Brew formula update for {{ .ProjectName }} version {{ .Tag }}" folder: Formula homepage: "https://github.com/duplocloud/duplo-jit" diff --git a/duplocloud/client.go b/duplocloud/client.go index 90a0fe9..a43b769 100644 --- a/duplocloud/client.go +++ b/duplocloud/client.go @@ -193,6 +193,7 @@ func (c *Client) doAPI(verb string, apiName string, apiPath string, rp interface return nil } message := fmt.Sprintf("%s: received unexpected response: %s", apiName, bodyString) + //nolint:govet logf(TRACE, message) return appHttpError(req, message) } @@ -201,6 +202,7 @@ func (c *Client) doAPI(verb string, apiName string, apiPath string, rp interface err = json.Unmarshal(body, rp) if err != nil { message := fmt.Sprintf("%s: cannot unmarshal response from JSON: %s", apiName, err.Error()) + //nolint:govet logf(TRACE, message) return newHttpError(req, -1, message) }