Skip to content
This repository was archived by the owner on May 24, 2023. It is now read-only.

Commit 0fdf5da

Browse files
authored
Rename main branch (#213)
1 parent 4f5ecf1 commit 0fdf5da

8 files changed

+17
-17
lines changed

Diff for: .github/PULL_REQUEST_TEMPLATE.md

+3-3
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-ingress-operator/blob/master/CONTRIBUTING.md) doc
7+
- [ ] I have read the [CONTRIBUTING](https://github.com/nginxinc/nginx-ingress-operator/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

Diff for: .github/workflows/ci.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Continuous Integration
33
on:
44
push:
55
branches:
6-
- 'master'
6+
- main
77
paths-ignore:
88
- 'docs/**'
99
- 'examples/**'
@@ -12,7 +12,7 @@ on:
1212
- 'v[0-9]+.[0-9]+.[0-9]+'
1313
pull_request:
1414
branches:
15-
- master
15+
- main
1616
types:
1717
- opened
1818
- reopened
@@ -210,7 +210,7 @@ jobs:
210210
name: Notify
211211
runs-on: ubuntu-20.04
212212
needs: [vars, build]
213-
if: always() && github.ref == 'refs/heads/master'
213+
if: always() && github.ref == 'refs/heads/main'
214214
steps:
215215
- name: Workflow Status
216216
id: check

Diff for: .github/workflows/codeql-analysis.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@ name: "CodeQL"
22

33
on:
44
push:
5-
branches: [ master ]
5+
branches: [ main ]
66
pull_request:
77
# The branches below must be a subset of the branches above
8-
branches: [ master ]
8+
branches: [ main ]
99
schedule:
1010
- cron: '45 2 * * 4'
1111

Diff for: .github/workflows/dockerhub-description.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Update Docker Hub Description
22
on:
33
push:
44
branches:
5-
- master
5+
- main
66
paths:
77
- README.md
88
- .github/workflows/dockerhub-description.yml

Diff for: .github/workflows/fossa.yml

+1-1
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
- 'LICENSE'

Diff for: .github/workflows/lint.yml

+1-1
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
types:
88
- opened
99
- reopened

Diff for: .github/workflows/release-drafter.yml

+1-1
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

Diff for: CONTRIBUTING.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -14,17 +14,17 @@ The following is a set of guidelines for contributing to the NGINX Ingress Opera
1414
* [Git Style Guide](#git-style-guide)
1515
* [Go Style Guide](#go-style-guide)
1616

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

1919
## Ask a Question
2020

2121
Please open an Issue on GitHub with the label `question`.
2222

2323
## Getting Started
2424

25-
Follow our [Installation Guide](https://github.com/nginxinc/nginx-ingress-operator/blob/master/docs/installation.md) to get the NGINX Ingress Operator up and running.
25+
Follow our [Installation Guide](https://github.com/nginxinc/nginx-ingress-operator/blob/main/docs/installation.md) to get the NGINX Ingress Operator up and running.
2626

27-
Read the [documentation](https://github.com/nginxinc/nginx-ingress-operator/tree/master/docs) and [examples](https://github.com/nginxinc/nginx-ingress-operator/tree/master/examples).
27+
Read the [documentation](https://github.com/nginxinc/nginx-ingress-operator/tree/main/docs) and [examples](https://github.com/nginxinc/nginx-ingress-operator/tree/main/examples).
2828

2929
### Project Structure
3030

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

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

5353
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.
5454

@@ -68,4 +68,4 @@ Note: if you’d like to implement a new feature, please consider creating a fea
6868

6969
* Run `gofmt` over your code to automatically resolve a lot of style issues. Most editors support this running automatically when saving a code file.
7070
* Follow this guide on some good practice and idioms for Go - https://github.com/golang/go/wiki/CodeReviewComments
71-
* To check for extra issues, install [golangci-lint](https://github.com/golangci/golangci-lint) and run `make lint` or `golangci-lint run`
71+
* 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)