Skip to content

Commit be9c1b0

Browse files
fix: use correct user agent for travis
1 parent b09d921 commit be9c1b0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

condition/travis.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ func Travis(token, defaultBranch string, private bool) error {
4848
}
4949

5050
client := travis.NewClient(endpoint, "")
51+
client.Headers["User-Agent"] = "Travis"
5152
if _, _, err := client.Authentication.UsingGithubToken(token); err != nil {
5253
return err
5354
}

0 commit comments

Comments
 (0)