Repository: astropy/astroscrappy (language: python)

Issue:
MNT: Rename default branch from master to main
Please rename your default branch from `master` to `main` as part of astropy/astropy-project#151 , preferably by 2021-03-22. Also a friendly reminder to check documentation, workflows, etc., and update them accordingly. Please don't forget to communicate this change to your users and stakeholders. To summarize:

- [ ] Rename branch from `master` to `main`, preferably by 2021-03-22.
- [ ] Update documentation, workflows, etc., accordingly. -- See #62
- [ ] Communicate this change to your users and stakeholders.

Once this is taken care of, you may close this issue.

*This is an automated issue. If this is opened in error, please let @pllim know!*



Discussion / hints:

Fix patch:
diff --git a/README.rst b/README.rst
index c012ac9..41693f7 100644
--- a/README.rst
+++ b/README.rst
@@ -8,7 +8,7 @@ Astro-SCRAPPY: The Speedy Cosmic Ray Annihilation Package in Python
 .. image:: https://github.com/astropy/astroscrappy/workflows/Run%20unit%20tests/badge.svg
     :target: https://github.com/astropy/astroscrappy/actions
     :alt: CI Status
-.. image:: https://codecov.io/gh/astropy/astroscrappy/branch/master/graph/badge.svg
+.. image:: https://codecov.io/gh/astropy/astroscrappy/branch/main/graph/badge.svg
     :target: https://codecov.io/gh/astropy/astroscrappy
     :alt: AstroScrappy's Coverage Status
 .. image:: https://zenodo.org/badge/36837126.svg
diff --git a/docs/conf.py b/docs/conf.py
index 19c4748..3b72bbd 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -159,7 +159,7 @@
     extensions += ['sphinx_astropy.ext.edit_on_github']
 
     edit_on_github_project = setup_cfg['github_project']
-    edit_on_github_branch = "master"
+    edit_on_github_branch = "main"
 
     edit_on_github_source_root = ""
     edit_on_github_doc_root = "docs"


Test patch:
diff --git a/.github/workflows/python-tests.yml b/.github/workflows/python-tests.yml
index 65bf319..47cfef4 100644
--- a/.github/workflows/python-tests.yml
+++ b/.github/workflows/python-tests.yml
@@ -3,7 +3,7 @@ name: Run unit tests
 on:
   pull_request:
   push:
-    branches: [ master ]
+    branches: [ main ]
     tags:
   workflow_dispatch:
   schedule: