From 2e8bec208ff340364e965b021f7b0cd8cf5cb263 Mon Sep 17 00:00:00 2001 From: Wang Boyu Date: Sun, 24 Jul 2022 09:44:53 +0800 Subject: [PATCH] rename master branch to main --- .github/workflows/build_lint.yml | 2 +- CONTRIBUTING.md | 6 +++--- README.md | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build_lint.yml b/.github/workflows/build_lint.yml index 15477814..0a8e4ae1 100644 --- a/.github/workflows/build_lint.yml +++ b/.github/workflows/build_lint.yml @@ -3,7 +3,7 @@ name: build on: push: branches: - - master + - main - release** paths-ignore: - '**.md' diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 5cf70820..5653716f 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -23,7 +23,7 @@ No contribution is too small. Although, contributions can be too big, so let's d - Fork the Mesa-Geo repository. - [Clone your repository] from GitHub to your machine. - Create a new branch in your fork: `git checkout -b BRANCH_NAME` -- Run `git config pull.rebase true`. This prevents messy merge commits when updating your branch on top of Mesa-Geo master branch. +- Run `git config pull.rebase true`. This prevents messy merge commits when updating your branch on top of Mesa-Geo main branch. - Install an editable version with developer requirements locally: `pip install -e ".[dev]"` - Edit the code. Save. - Git add the new files and files with changes: `git add FILE_NAME` @@ -44,7 +44,7 @@ No contribution is too small. Although, contributions can be too big, so let's d Testing and Code Standards -------------------------- -[![](https://codecov.io/gh/projectmesa/mesa-geo/branch/master/graph/badge.svg)](https://codecov.io/gh/projectmesa/mesa-geo) [![](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black) +[![](https://codecov.io/gh/projectmesa/mesa-geo/branch/main/graph/badge.svg)](https://codecov.io/gh/projectmesa/mesa-geo) [![](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black) As part of our contribution process, we practice continuous integration and use GH Actions to help enforce best practices. @@ -91,7 +91,7 @@ Licensing The license of this project is located in [LICENSE]. By submitting a contribution to this project, you are agreeing that your contribution will be released under the terms of this license. -[LICENSE]: https://github.com/projectmesa/mesa-geo/blob/master/LICENSE +[LICENSE]: https://github.com/projectmesa/mesa-geo/blob/main/LICENSE Special Thanks -------------- diff --git a/README.md b/README.md index c421f5ae..371eeda6 100644 --- a/README.md +++ b/README.md @@ -130,4 +130,4 @@ If you run into an issue, please file a [ticket](https://github.com/projectmesa/ If you would like to add a feature, please reach out via [ticket](https://github.com/projectmesa/mesa-geo/issues) or join a dev session (see [Mesa discussions](https://github.com/projectmesa/mesa/discussions)). A feature is most likely to be added if you build it! -Don't forget to check out the [Contributors guide](https://github.com/projectmesa/mesa-geo/blob/master/CONTRIBUTING.md). +Don't forget to check out the [Contributors guide](https://github.com/projectmesa/mesa-geo/blob/main/CONTRIBUTING.md).