Skip to content
This repository was archived by the owner on Feb 25, 2022. It is now read-only.

Commit 70e4ba5

Browse files
committed
chore: rename master to main
1 parent b91a028 commit 70e4ba5

File tree

6 files changed

+8
-8
lines changed

6 files changed

+8
-8
lines changed

.circleci/config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,11 +104,11 @@ workflows:
104104
- build
105105
filters:
106106
branches:
107-
ignore: master
107+
ignore: main
108108
- semantic-release:
109109
context: Project Helix
110110
requires:
111111
- build
112112
filters:
113113
branches:
114-
only: master
114+
only: main

.github/workflows/ci-trigger.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
on:
22
push:
33
branches-ignore:
4-
- 'master'
4+
- 'main'
55

66
jobs:
77
ci_trigger:

.github/workflows/semver-check.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
on:
22
push:
33
branches-ignore:
4-
- 'master'
4+
- 'main'
55

66
jobs:
77
ci_trigger:

.releaserc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,5 @@ module.exports = {
1717
}],
1818
'@semantic-release/github',
1919
],
20-
branch: 'master'
20+
branches: ['main'],
2121
};

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
## Status
66
[![codecov](https://img.shields.io/codecov/c/github/adobe/helix-data-embed.svg)](https://codecov.io/gh/adobe/helix-data-embed)
77
[![CircleCI](https://img.shields.io/circleci/project/github/adobe/helix-data-embed.svg)](https://circleci.com/gh/adobe/helix-data-embed)
8-
[![GitHub license](https://img.shields.io/github/license/adobe/helix-data-embed.svg)](https://github.com/adobe/helix-data-embed/blob/master/LICENSE.txt)
8+
[![GitHub license](https://img.shields.io/github/license/adobe/helix-data-embed.svg)](https://github.com/adobe/helix-data-embed/blob/main/LICENSE.txt)
99
[![GitHub issues](https://img.shields.io/github/issues/adobe/helix-data-embed.svg)](https://github.com/adobe/helix-data-embed/issues)
1010
[![LGTM Code Quality Grade: JavaScript](https://img.shields.io/lgtm/grade/javascript/g/adobe/helix-data-embed.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/adobe/helix-data-embed)
1111
[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)
@@ -79,4 +79,4 @@ For more, see the [API documentation](docs/API.md).
7979

8080
Deploying Helix Data Embed requires the `wsk` command line client, authenticated to a namespace of your choice. For Project Helix, we use the `helix` namespace.
8181

82-
All commits to master that pass the testing will be deployed automatically. All commits to branches that will pass the testing will get commited as `/helix-services/data-embed@ci<num>` and tagged with the CI build number.
82+
All commits to main that pass the testing will be deployed automatically. All commits to branches that will pass the testing will get commited as `/helix-services/data-embed@ci<num>` and tagged with the CI build number.

test/post-deploy.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ function getbaseurl() {
2525
const package = 'helix-services';
2626
const name = packjson.name.replace('@adobe/helix-', '');
2727
let version = `${packjson.version}`;
28-
if (process.env.CI && process.env.CIRCLE_BUILD_NUM && process.env.CIRCLE_BRANCH !== 'master') {
28+
if (process.env.CI && process.env.CIRCLE_BUILD_NUM && process.env.CIRCLE_BRANCH !== 'main') {
2929
version = `ci${process.env.CIRCLE_BUILD_NUM}`;
3030
}
3131
return `api/v1/web/${namespace}/${package}/${name}@${version}`;

0 commit comments

Comments
 (0)