Skip to content

fix: use ghinstallation for GitHub App token refresh #24

fix: use ghinstallation for GitHub App token refresh

fix: use ghinstallation for GitHub App token refresh #24

Re-run triggered January 30, 2026 19:52
Status Failure
Total duration 1m 25s
Artifacts

verify.yaml

on: pull_request
Matrix: verify / test
Fit to window
Zoom out
Zoom in

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