diff --git a/.github/workflows/continuous_delivery.yaml b/.github/workflows/continuous_delivery.yaml index 22be17071e5616bc90f00d7fa321dbfae6300737..7fa315f8c5c527a2031f152d47d28ed87ddd26f1 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 8182c68d58091a5b319d9fb93e531a98823598dc..adad750d4b2e5c77ffb5d7e810a164467495c918 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 0afb16d1fe5d4061996e3bb2e990e2cd07302912..c97c5a3ba4b4e0edfb30e22082f670d78bfedc93 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. [](https://pkg.go.dev/github.com/mccutchen/go-httpbin/v2) -[](http://travis-ci.org/mccutchen/go-httpbin) -[](https://codecov.io/gh/mccutchen/go-httpbin) +[](https://github.com/mccutchen/go-httpbin/actions/workflows/continuous_delivery.yaml) +[](https://codecov.io/gh/mccutchen/go-httpbin) ## Usage