Skip to content

Commit 4f531ac

Browse files
authored
Rename main branch (#91)
1 parent 388fa7e commit 4f531ac

File tree

7 files changed

+13
-13
lines changed

7 files changed

+13
-13
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-plus-go-client/blob/master/CONTRIBUTING.md) doc
7+
- [ ] I have read the [CONTRIBUTING](https://github.com/nginxinc/nginx-plus-go-client/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: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@ name: Continuous Integration
33
on:
44
push:
55
branches:
6-
- master
6+
- main
77
paths-ignore:
88
- '**.md'
99
- 'LICENSE'
1010
pull_request:
1111
branches:
12-
- master
12+
- main
1313
paths-ignore:
1414
- '**.md'
1515
- 'LICENSE'
@@ -69,7 +69,7 @@ jobs:
6969
name: Notify
7070
runs-on: ubuntu-20.04
7171
needs: build
72-
if: always() && github.ref == 'refs/heads/master'
72+
if: always() && github.ref == 'refs/heads/main'
7373
steps:
7474
- name: Workflow Status
7575
id: check

.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: '33 16 * * 3'
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
- '**.md'
99
- 'LICENSE'

.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: 2 additions & 2 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 Plus Go Clien
1414
* [Git Style Guide](#git-style-guide)
1515
* [Go Style Guide](#go-style-guide)
1616

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

1919
## Ask a Question
2020

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

0 commit comments

Comments
 (0)