From 0b4b45daedb5451e25c7db3e80f3557107b052f1 Mon Sep 17 00:00:00 2001 From: Otto Winter Date: Wed, 30 Jun 2021 18:08:56 +0200 Subject: [PATCH] Rename master branch to main (#58) --- .github/workflows/ci.yml | 2 +- .github/workflows/protoc-update.yml | 2 +- .github/workflows/release-drafter.yml | 2 +- MAINTAINERS.md | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 066b8b6..c013eae 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,7 +2,7 @@ name: CI on: push: - branches: [master] + branches: [main] pull_request: jobs: diff --git a/.github/workflows/protoc-update.yml b/.github/workflows/protoc-update.yml index b3b1ab8..7fa46d7 100644 --- a/.github/workflows/protoc-update.yml +++ b/.github/workflows/protoc-update.yml @@ -2,7 +2,7 @@ name: Update protobuf generated files on: push: - branches: [master] + branches: [main] jobs: protoc-update: diff --git a/.github/workflows/release-drafter.yml b/.github/workflows/release-drafter.yml index 6dd683c..5fd6b27 100644 --- a/.github/workflows/release-drafter.yml +++ b/.github/workflows/release-drafter.yml @@ -4,7 +4,7 @@ name: Release Drafter on: push: branches: - - master + - main jobs: update_release_draft: diff --git a/MAINTAINERS.md b/MAINTAINERS.md index d1c382c..1ab9aae 100644 --- a/MAINTAINERS.md +++ b/MAINTAINERS.md @@ -12,5 +12,5 @@ Before creating a release: Check the latest commit passes continuous integration When the release button on the draft is clicked, GitHub Actions will publish the release to PyPi. -After any push to the master branch, the "protoc-update" workflow is run which updates the generated python protobuf files. This is to ensure that if a contributor has a newer protoc version installed than the protobuf python package, we won't run into any issues. +After any push to the main branch, the "protoc-update" workflow is run which updates the generated python protobuf files. This is to ensure that if a contributor has a newer protoc version installed than the protobuf python package, we won't run into any issues.