diff --git a/.github/workflows/go-presubmit.yml b/.github/workflows/go-presubmit.yml
index 22eb8b9..f104662 100644
--- a/.github/workflows/go-presubmit.yml
+++ b/.github/workflows/go-presubmit.yml
@@ -3,7 +3,7 @@ name: Go presubmit
 on:
   push:
     branches:
-      - master
+      - main
   pull_request:
     types: [opened, reopened, synchronize]
 
diff --git a/README.md b/README.md
index 4951828..a523c41 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,4 @@
-[![Build Status](https://travis-ci.org/pcarrier/gauth.png?branch=master)](https://travis-ci.org/pcarrier/gauth)
+[![Build Status](https://travis-ci.org/pcarrier/gauth.png?branch=main)](https://travis-ci.org/pcarrier/gauth)
 
 gauth: replace Google Authenticator
 ===================================