From e2bb3eced878c1e7ae230e50de18ab4f589988d2 Mon Sep 17 00:00:00 2001
From: Will McCutchen <will@mccutch.org>
Date: Mon, 29 Nov 2021 17:25:55 -0500
Subject: [PATCH] Fix lingering references to the old master branch (#69)

---
 .github/workflows/continuous_delivery.yaml | 10 +++++-----
 .github/workflows/lint.yaml                |  4 ++--
 README.md                                  |  4 ++--
 3 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/.github/workflows/continuous_delivery.yaml b/.github/workflows/continuous_delivery.yaml
index 22be170..7fa315f 100644
--- a/.github/workflows/continuous_delivery.yaml
+++ b/.github/workflows/continuous_delivery.yaml
@@ -2,16 +2,16 @@
 # autonomous deploys to production on merge.
 name: CD
 
-# Translated: "Execute this workflow on pushes to master OR on pull requests
-# opened against master"
+# Translated: "Execute this workflow on pushes to main OR on pull requests
+# opened against main"
 #
 # See this question and answer for what we're solving here:
 # https://github.community/t5/GitHub-Actions/How-to-trigger-an-action-on-push-or-pull-request-but-not-both/m-p/36155#M2460
 on:
   push:
-    branches: [master]
+    branches: [main]
   pull_request:
-    branches: [master]
+    branches: [main]
 
 jobs:
   test:
@@ -67,7 +67,7 @@ jobs:
 
   production_deploy:
     name: Production Deploy
-    if: github.ref == 'refs/heads/master'
+    if: github.ref == 'refs/heads/main'
     runs-on: ubuntu-latest
     needs: [test]
     steps:
diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml
index 8182c68..adad750 100644
--- a/.github/workflows/lint.yaml
+++ b/.github/workflows/lint.yaml
@@ -2,9 +2,9 @@ name: Lint
 
 on:
   push:
-    branches: [master] # pushes TO master
+    branches: [main] # pushes TO main
   pull_request:
-    branches: [master] # pull requests AGAINST master
+    branches: [main] # pull requests AGAINST main
 
 jobs:
   golangci:
diff --git a/README.md b/README.md
index 0afb16d..c97c5a3 100644
--- a/README.md
+++ b/README.md
@@ -4,8 +4,8 @@ A reasonably complete and well-tested golang port of [Kenneth Reitz][kr]'s
 [httpbin][httpbin-org] service, with zero dependencies outside the go stdlib.
 
 [![GoDoc](https://pkg.go.dev/badge/github.com/mccutchen/go-httpbin/v2)](https://pkg.go.dev/github.com/mccutchen/go-httpbin/v2)
-[![Build Status](https://travis-ci.org/mccutchen/go-httpbin.svg?branch=master)](http://travis-ci.org/mccutchen/go-httpbin)
-[![Coverage](https://codecov.io/gh/mccutchen/go-httpbin/branch/master/graph/badge.svg)](https://codecov.io/gh/mccutchen/go-httpbin)
+[![Build status](https://github.com/mccutchen/go-httpbin/actions/workflows/continuous_delivery.yaml/badge.svg)](https://github.com/mccutchen/go-httpbin/actions/workflows/continuous_delivery.yaml)
+[![Coverage](https://codecov.io/gh/mccutchen/go-httpbin/branch/main/graph/badge.svg)](https://codecov.io/gh/mccutchen/go-httpbin)
 
 
 ## Usage
-- 
GitLab