Skip to content

Commit 33c6a35

Browse files
authored
Rename main branch (#211)
1 parent 7a0f1d4 commit 33c6a35

File tree

8 files changed

+15
-15
lines changed

8 files changed

+15
-15
lines changed

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ Describe the use case and detail of the change. If this PR addresses an issue on
44
### Checklist
55
Before creating a PR, run through this checklist and mark each as complete.
66

7-
- [ ] I have read the [CONTRIBUTING](https://github.com/nginxinc/nginx-asg-sync/blob/master/CONTRIBUTING.md) doc
7+
- [ ] I have read the [CONTRIBUTING](https://github.com/nginxinc/nginx-asg-sync/blob/main/CONTRIBUTING.md) doc
88
- [ ] I have added tests that prove my fix is effective or that my feature works
99
- [ ] I have checked that all unit tests pass after adding my changes
1010
- [ ] I have updated necessary documentation
11-
- [ ] I have rebased my branch onto master
12-
- [ ] I will ensure my PR is targeting the master branch and pulling from my branch from my own fork
11+
- [ ] I have rebased my branch onto main
12+
- [ ] I will ensure my PR is targeting the main branch and pulling from my branch from my own fork

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@ name: Continuous Integration
33
on:
44
push:
55
branches:
6-
- 'master'
6+
- main
77
paths-ignore:
88
- '**.md'
99
pull_request:
1010
branches:
11-
- master
11+
- main
1212
types:
1313
- opened
1414
- reopened

.github/workflows/codeql-analysis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ name: "CodeQL"
1313

1414
on:
1515
push:
16-
branches: [ master ]
16+
branches: [ main ]
1717
pull_request:
1818
# The branches below must be a subset of the branches above
19-
branches: [ master ]
19+
branches: [ main ]
2020
schedule:
2121
- cron: '16 6 * * 4'
2222

.github/workflows/fossa.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Fossa
33
on:
44
push:
55
branches:
6-
- master
6+
- main
77
paths-ignore:
88
- '**.md'
99

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Lint
33
on:
44
pull_request:
55
branches:
6-
- master
6+
- main
77
paths-ignore:
88
- 'examples/**'
99
- '**.md'

.github/workflows/release-drafter.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Release Drafter
33
on:
44
push:
55
branches:
6-
- master
6+
- main
77
pull_request:
88
types: [opened, reopened, synchronize]
99

CONTRIBUTING.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ The following is a set of guidelines for contributing to the NGINX AWS Auto-Scal
1414
* [Git Style Guide](#git-style-guide)
1515
* [Go Style Guide](#go-style-guide)
1616

17-
[Code of Conduct](https://github.com/nginxinc/nginx-asg-sync/blob/master/CODE_OF_CONDUCT.md)
17+
[Code of Conduct](https://github.com/nginxinc/nginx-asg-sync/blob/main/CODE_OF_CONDUCT.md)
1818

1919
## Ask a Question
2020

@@ -23,7 +23,7 @@ We will have a public forum soon where you can come and ask questions and have a
2323

2424
## Getting Started
2525

26-
Read the installation, configuration and building steps in the [README](https://github.com/nginxinc/nginx-asg-sync/blob/master/README.md).
26+
Read the installation, configuration and building steps in the [README](https://github.com/nginxinc/nginx-asg-sync/blob/main/README.md).
2727

2828
### Project Structure
2929

@@ -46,7 +46,7 @@ To suggest an enhancement, please create an issue on GitHub with the label `enha
4646
### Open a Pull Request
4747

4848
* Fork the repo, create a branch, submit a PR when your changes are tested and ready for review
49-
* Fill in [our pull request template](https://github.com/nginxinc/nginx-asg-sync/blob/master/.github/PULL_REQUEST_TEMPLATE.md)
49+
* Fill in [our pull request template](https://github.com/nginxinc/nginx-asg-sync/blob/main/.github/PULL_REQUEST_TEMPLATE.md)
5050

5151
Note: if you’d like to implement a new feature, please consider creating a feature request issue first to start a discussion about the feature.
5252

@@ -67,4 +67,4 @@ Note: if you’d like to implement a new feature, please consider creating a fea
6767
* Run `gofmt` over your code to automatically resolve a lot of style issues. Most editors support this running automatically when saving a code file.
6868
* Run `go lint` and `go vet` on your code too to catch any other issues.
6969
* Follow this guide on some good practice and idioms for Go - https://github.com/golang/go/wiki/CodeReviewComments
70-
* To check for extra issues, install [golangci-lint](https://github.com/golangci/golangci-lint) and run `make lint` or `golangci-lint run`
70+
* To check for extra issues, install [golangci-lint](https://github.com/golangci/golangci-lint) and run `make lint` or `golangci-lint run`

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ Support for other operating systems can be added.
5353

5454
1. Get a software package for your OS:
5555
* For a stable release, download a package from the [releases page](https://github.com/nginxinc/nginx-asg-sync/releases).
56-
* For the latest source code from the master branch, build a software package by following [these instructions](#building-a-software-package).
56+
* For the latest source code from the main branch, build a software package by following [these instructions](#building-a-software-package).
5757
2. Install the package:
5858
* For Amazon Linux or CentOS/RHEL, run: `$ sudo rpm -i <package-name>.rpm`
5959
* For Ubuntu or Debian, run: `$ sudo dpkg -i <package-name>.deb`

0 commit comments

Comments
 (0)