Skip to content

Commit

Permalink
Rename default branch (#544)
Browse files Browse the repository at this point in the history
* feat: s/master/main/ for this repo

Also update the PR checklist a little bit

* chore: update changelog
  • Loading branch information
gadomski authored Mar 16, 2023
1 parent 49914bb commit 5c576e9
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 14 deletions.
7 changes: 3 additions & 4 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
**Related Issue(s):**
**Related Issue(s):**

- #

**Description:**


**PR Checklist:**

- [ ] Code is formatted and linted (run `pre-commit run --all-files`)
- [ ] `pre-commit` hooks pass locally
- [ ] Tests pass (run `make test`)
- [ ] Documentation has been updated to reflect changes, if applicable, and docs build successfully (run `make docs`)
- [ ] Changes are added to the [CHANGELOG](https://github.com/stac-utils/stac-fastapi/blob/master/CHANGES.md).
- [ ] Changes are added to the [CHANGELOG](https://github.com/stac-utils/stac-fastapi/blob/main/CHANGES.md).
4 changes: 2 additions & 2 deletions .github/workflows/cicd.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: stac-fastapi
on:
push:
branches: [master]
branches: [main]
pull_request:
branches: [master]
branches: [main]

jobs:
test:
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/deploy_mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,21 @@ name: Publish docs via GitHub Pages
on:
push:
branches:
- master
- main
paths:
# Rebuild website when docs have changed or code has changed
- 'README.md'
- 'docs/**'
- 'mkdocs.yml'
- '**.py'
- "README.md"
- "docs/**"
- "mkdocs.yml"
- "**.py"

jobs:
build:
name: Deploy docs
runs-on: ubuntu-latest

steps:
- name: Checkout master
- name: Checkout main
uses: actions/checkout@v3

- name: Set up Python 3.8
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: packages
on:
push:
branches:
- master
- main
tags:
- "*"

Expand Down
6 changes: 5 additions & 1 deletion CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

## [Unreleased]

### Changed

* Default branch to **main** ([#544](https://github.com/stac-utils/stac-fastapi/pull/544))

## [2.4.4] - 2023-03-09

### Added
Expand Down Expand Up @@ -241,7 +245,7 @@

* First PyPi release!

[Unreleased]: <https://github.com/stac-utils/stac-fastapi/compare/2.4.4..master>
[Unreleased]: <https://github.com/stac-utils/stac-fastapi/compare/2.4.4..main>
[2.4.4]: <https://github.com/stac-utils/stac-fastapi/compare/2.4.3..2.4.4>
[2.4.3]: <https://github.com/stac-utils/stac-fastapi/compare/2.4.2..2.4.3>
[2.4.2]: <https://github.com/stac-utils/stac-fastapi/compare/2.4.1..2.4.2>
Expand Down

0 comments on commit 5c576e9

Please sign in to comment.