fix: use ghinstallation for GitHub App token refresh #24
verify.yaml
on: pull_request
verify
/
lint
1m 19s
Matrix: verify / test
Annotations
9 errors and 1 warning
|
verify / lint
issues found
|
|
verify / lint:
pkg/connector/connector.go#L393
func getInstallationToken is unused (unused)
|
|
verify / lint:
pkg/connector/connector.go#L422
error is not nil (line 419) but it returns nil (nilerr)
|
|
verify / lint:
pkg/connector/connector.go#L257
ifElseChain: rewrite if-else to switch statement (gocritic)
|
|
verify / lint:
pkg/connector/connector_test.go#L31
string `/app/installations/123/access_tokens` has 3 occurrences, make it a constant (goconst)
|
|
verify / lint:
pkg/connector/connector_test.go#L182
Error return value of `w.Write` is not checked (errcheck)
|
|
verify / lint:
pkg/connector/connector_test.go#L128
Error return value of `w.Write` is not checked (errcheck)
|
|
verify / lint:
pkg/connector/connector_test.go#L73
Error return value of `w.Write` is not checked (errcheck)
|
|
verify / lint:
pkg/connector/connector_test.go#L34
Error return value of `w.Write` is not checked (errcheck)
|
|
verify / lint
Restore cache failed: Dependencies file is not found in /home/runner/work/baton-github/baton-github. Supported file pattern: go.sum
|