From 002c26ae8784024a8f53b467a27d191121e89dbf Mon Sep 17 00:00:00 2001 From: cpretzer Date: Thu, 15 Apr 2021 16:08:16 -0700 Subject: [PATCH] Update publish workflow to use main branch (#1043) * Update publish workflow to use main branch * Update references to main branch for this repo Signed-off-by: Charles Pretzer --- .github/workflows/publish.yml | 2 +- CONTRIBUTING.md | 4 ++-- README.md | 2 +- linkerd.io/layouts/partials/footer.html | 2 +- linkerd.io/layouts/partials/footer_old.html | 4 ++-- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 1df6a0486a..575b6ea782 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -3,7 +3,7 @@ name: publish on: push: branches: - - master + - main repository_dispatch: types: [release] diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index e51b24c2a1..0c7b7919b7 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -35,7 +35,7 @@ Do you have an improvement? 2. We will try to respond to your issue promptly. 3. Fork this repo, develop and test your code changes. See the project's [README](README.md) for further information about working in this repository. -4. Submit a pull request against this repo's `master` branch. +4. Submit a pull request against this repo's `main` branch. 5. Your branch may be merged once all configured checks pass, including: - 2 code review approvals, at least 1 of which is from a @@ -45,7 +45,7 @@ Do you have an improvement? ## Committing ## We prefer squash or rebase commits so that all changes from a branch are -committed to master as a single commit. All pull requests are squashed when +committed to main as a single commit. All pull requests are squashed when merged, but rebasing prior to merge gives you better control over the commit message. diff --git a/README.md b/README.md index d5bbc29a80..0df43dae27 100644 --- a/README.md +++ b/README.md @@ -77,7 +77,7 @@ released separately. ### Updating docs from Linkerd See [slate documentation](slate-linkerd) `./build` will grab whatever's on -master from slate-linkerd and add it to the public dir. +main from slate-linkerd and add it to the public dir. ### Creating a new release diff --git a/linkerd.io/layouts/partials/footer.html b/linkerd.io/layouts/partials/footer.html index c234895cec..ab56e4323f 100644 --- a/linkerd.io/layouts/partials/footer.html +++ b/linkerd.io/layouts/partials/footer.html @@ -42,7 +42,7 @@
diff --git a/linkerd.io/layouts/partials/footer_old.html b/linkerd.io/layouts/partials/footer_old.html index 0b454be08b..dfb04d8ac0 100644 --- a/linkerd.io/layouts/partials/footer_old.html +++ b/linkerd.io/layouts/partials/footer_old.html @@ -1,12 +1,12 @@ {{ $isHome := .IsHome }} {{ $filepath := .File.Path }} -{{ $editUrl := printf "https://github.com/linkerd/website/edit/master/linkerd.io/content/%s" $filepath }} +{{ $editUrl := printf "https://github.com/linkerd/website/edit/main/linkerd.io/content/%s" $filepath }}