Skip to content

Commit 8069be5

Browse files
authored
chore: Update references to master to main (#331)
Update master references to main Signed-off-by: Shubham Sharma <[email protected]>
1 parent 7bf1bb8 commit 8069be5

File tree

8 files changed

+11
-11
lines changed

8 files changed

+11
-11
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@ name: Build
1515
on:
1616
push:
1717
branches:
18-
- master
18+
- main
1919
- release-*
2020
tags:
2121
- v*
2222
pull_request:
2323
branches:
24-
- master
24+
- main
2525
- release-*
2626
# Manual trigger
2727
workflow_dispatch: {}

.github/workflows/fossa.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@ on:
44
types: [fossa]
55
push:
66
branches:
7-
- master
7+
- main
88
- release-*
99
tags:
1010
- v*
1111
pull_request:
1212
branches:
13-
- master
13+
- main
1414
- release-*
1515
workflow_dispatch: {}
1616
jobs:

.github/workflows/test-e2e.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ name: Test - E2E
1616
on:
1717
push:
1818
branches:
19-
- master
19+
- main
2020
- release-*
2121
tags:
2222
- v*
2323
pull_request:
2424
branches:
25-
- master
25+
- main
2626
- release-*
2727
# Manual trigger
2828
workflow_dispatch:

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<a aria-label="NPM version" href="https://www.npmjs.com/package/@dapr/dapr">
1010
<img alt="" src="https://img.shields.io/npm/v/@dapr/dapr?style=for-the-badge&labelColor=000000">
1111
</a>
12-
<a aria-label="License" href="https://github.com/dapr/js-sdk/blob/master/LICENSE">
12+
<a aria-label="License" href="https://github.com/dapr/js-sdk/blob/main/LICENSE">
1313
<img alt="" src="https://img.shields.io/badge/License-Apache_2.0-blue.svg?style=for-the-badge&labelColor=000000">
1414
</a>
1515
<a aria-label="Join the community on Discord" href="https://discord.com/invite/ptHhX6jc34">

daprdocs/content/en/js-sdk-docs/js-actors/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ The below code examples loosely describe the scenario of a Parking Garage Spot M
2121

2222
A parking garage consists of hundreds of parking spaces, where each parking space includes a sensor that provides updates to a centralized monitoring system. The parking space sensors (our actors) detect if a parking space is occupied or available.
2323

24-
To jump in and run this example yourself, clone the source code, which can be found in the [JavaScript SDK examples directory](https://github.com/dapr/js-sdk/tree/master/examples/http/actor-parking-sensor).
24+
To jump in and run this example yourself, clone the source code, which can be found in the [JavaScript SDK examples directory](https://github.com/dapr/js-sdk/tree/main/examples/http/actor-parking-sensor).
2525

2626
## Actor Interface
2727
The actor interface defines the contract that is shared between the actor implementation and the clients calling the actor. In the example below, we have created an interace for a parking garage sensor. Each sensor has 2 methods: `carEnter` and `carLeave`, which defines the state of the parking space:

daprdocs/content/en/js-sdk-docs/js-server/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,4 +239,4 @@ start().catch((e) => {
239239

240240
## Related links
241241

242-
- [JavaScript SDK examples](https://github.com/dapr/js-sdk/tree/master/examples)
242+
- [JavaScript SDK examples](https://github.com/dapr/js-sdk/tree/main/examples)

documentation/development.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,4 +63,4 @@ Publishing is automated in the CI/CD pipeline. Each time a version is release (G
6363

6464
|Secret|Value|Usage|
6565
|--|--|--|
66-
|DAPR_BOT_TOKEN|[Your Github Personal Access Token](https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token)|[dapr-bot.yml](https://github.com/dapr/js-sdk/blob/master/.github/workflows/dapr-bot.yml) uses it for administrative actions|
66+
|DAPR_BOT_TOKEN|[Your Github Personal Access Token](https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token)|[dapr-bot.yml](https://github.com/dapr/js-sdk/blob/main/.github/workflows/dapr-bot.yml) uses it for administrative actions|

examples/distributedLock/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ It demonstrates the **Distributed Lock** API's following methods:
1111

1212
- [Dapr CLI](https://docs.dapr.io/getting-started/install-dapr-cli/)
1313
- [Dapr JS SDK](https://docs.dapr.io/developing-applications/sdks/js/)
14-
- Initialize Dapr environment by pulling the code from master branch of [Dapr](https://github.com/dapr/dapr)
14+
- Initialize Dapr environment by pulling the code from main branch of [Dapr](https://github.com/dapr/dapr)
1515

1616
## Overview
1717

0 commit comments

Comments
 (0)