Skip to content

Commit e9399c1

Browse files
author
Kiran Mova
authored
chore(repo): rename branch master to main (#19)
- As part of inclusive naming, work towards renaming branches with name master to main or develop - Updated the reference of base alpine to latest - remove references of master Signed-off-by: kmova <[email protected]>
1 parent 24b0576 commit e9399c1

File tree

8 files changed

+14
-14
lines changed

8 files changed

+14
-14
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
run: |
3333
BRANCH="${GITHUB_REF##*/}"
3434
CI_TAG=${BRANCH#v}-ci
35-
if [ ${BRANCH} = "master" ]; then
35+
if [ ${BRANCH} = "main" ]; then
3636
CI_TAG="ci"
3737
fi
3838
echo "TAG=${CI_TAG}" >> $GITHUB_ENV
@@ -114,7 +114,7 @@ jobs:
114114
- name: Run Trivy vulnerability scanner
115115
uses: aquasecurity/trivy-action@master
116116
with:
117-
# the tag will be always ci since only master branch is present
117+
# the tag will be always ci since only main branch is present
118118
# in this repository
119119
image-ref: 'openebs/linux-utils:ci'
120120
format: 'table'

.github/workflows/pull_request.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ name: ci
1717
on:
1818
pull_request:
1919
branches:
20-
# on pull requests to master and release branches
21-
- master
20+
# on pull requests to main and release branches
21+
- main
2222
- 'v*'
2323

2424
jobs:

CODE_OF_CONDUCT.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
## Community Code of Conduct
22

3-
This project follows the [CNCF Code of Conduct](https://github.com/cncf/foundation/blob/master/code-of-conduct.md).
3+
This project follows the [CNCF Code of Conduct](https://github.com/cncf/foundation/blob/HEAD/code-of-conduct.md).

CONTRIBUTING.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ OpenEBS uses the standard GitHub pull requests process to review and accept cont
44

55
* If you have a trivial fix or improvement, go ahead and create a pull request, addressing (with `@...`) the maintainer of this repository (see [MAINTAINERS.md](MAINTAINERS.md)) in the description of the pull request.
66

7-
* If you would like to work on something more involved, please connect with the OpenEBS Contributors. See [OpenEBS Community](https://github.com/openebs/openebs/tree/master/community).
7+
* If you would like to work on something more involved, please connect with the OpenEBS Contributors. See [OpenEBS Community](https://github.com/openebs/openebs/tree/HEAD/community).
88

99
## Steps to Contribute
1010

@@ -13,26 +13,26 @@ OpenEBS is an Apache 2.0 Licensed project and all your commits should be signed
1313
* Find an issue to work on or create a new issue. The issues are maintained at [openebs/openebs](https://github.com/openebs/openebs/issues). You can pick up from a list of [good-first-issues](https://github.com/openebs/openebs/labels/good%20first%20issue).
1414
* Claim your issue by commenting your intent to work on it to avoid duplication of efforts.
1515
* Fork the repository on GitHub.
16-
* Create a branch from where you want to base your work (usually master).
16+
* Create a branch from where you want to base your work (usually `main`).
1717
* Make your changes.
1818
* Commit your changes by making sure the commit messages convey the need and notes about the commit.
1919
* Push your changes to the branch in your fork of the repository.
2020
* Submit a pull request to the original repository. See [Pull Request checklist](#pull-request-checklist).
2121

2222
## Pull Request Checklist
2323

24-
* Rebase to the current master branch before submitting your pull request.
24+
* Rebase to the current main branch before submitting your pull request.
2525
* Commits should be as small as possible. Each commit should follow the checklist below:
2626
- For code changes, add tests relevant to the fixed bug or new feature.
2727
- Pass the compile and tests - includes spell checks, formatting, etc.
2828
- Commit header (first line) should convey what changed.
2929
- Commit body should include details such as why the changes are required and how the proposed changes.
3030
- DCO Signed.
31-
* If your PR is not getting reviewed or you need a specific person to review it, please reach out to the OpenEBS Contributors. See [OpenEBS Community](https://github.com/openebs/openebs/tree/master/community).
31+
* If your PR is not getting reviewed or you need a specific person to review it, please reach out to the OpenEBS Contributors. See [OpenEBS Community](https://github.com/openebs/openebs/tree/HEAD/community).
3232

3333
## Sign your work
3434

35-
We use the Developer Certificate of Origin (DCO) as an additional safeguard for the OpenEBS project. This is a well established and widely used mechanism to assure that contributors have confirmed their right to license their contribution under the project's license. Please read [dcofile](https://github.com/openebs/openebs/blob/master/contribute/developer-certificate-of-origin). If you can certify it, then just add a line to every git commit message:
35+
We use the Developer Certificate of Origin (DCO) as an additional safeguard for the OpenEBS project. This is a well established and widely used mechanism to assure that contributors have confirmed their right to license their contribution under the project's license. Please read [dcofile](https://github.com/openebs/openebs/blob/HEAD/contribute/developer-certificate-of-origin). If you can certify it, then just add a line to every git commit message:
3636

3737
```
3838
Signed-off-by: Random J Developer <[email protected]>

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM alpine:3.14.1
1+
FROM alpine:3.14.2
22
RUN apk add --no-cache util-linux xfsprogs xfsprogs-extra
33

44
ARG DBUILD_DATE

GOVERNANCE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
This is a OpenEBS sub project and abides by the [OpenEBS Project Governance](https://github.com/openebs/openebs/blob/master/GOVERNANCE.md).
1+
This is a OpenEBS sub project and abides by the [OpenEBS Project Governance](https://github.com/openebs/openebs/blob/HEAD/GOVERNANCE.md).

RELEASE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
This is a OpenEBS sub project and abides by the
2-
[OpenEBS Release Process](https://github.com/openebs/openebs/blob/master/RELEASE.md).
2+
[OpenEBS Release Process](https://github.com/openebs/openebs/blob/HEAD/RELEASE.md).
33

44
`linux-utils` is the first repository to be tagged as part of the release, which will
55
in turn trigger the down stream repository releases.

SECURITY.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
This is a OpenEBS sub project and abides by the
2-
[OpenEBS Security Release Process](https://github.com/openebs/openebs/blob/master/SECURITY.md).
2+
[OpenEBS Security Release Process](https://github.com/openebs/openebs/blob/HEAD/SECURITY.md).

0 commit comments

Comments
 (0)