Skip to content

Commit

Permalink
chore: Update references to master to main (#331)
Browse files Browse the repository at this point in the history
Update master references to main

Signed-off-by: Shubham Sharma <[email protected]>
  • Loading branch information
shubham1172 authored Jul 27, 2022
1 parent 7bf1bb8 commit 8069be5
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ name: Build
on:
push:
branches:
- master
- main
- release-*
tags:
- v*
pull_request:
branches:
- master
- main
- release-*
# Manual trigger
workflow_dispatch: {}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/fossa.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ on:
types: [fossa]
push:
branches:
- master
- main
- release-*
tags:
- v*
pull_request:
branches:
- master
- main
- release-*
workflow_dispatch: {}
jobs:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ name: Test - E2E
on:
push:
branches:
- master
- main
- release-*
tags:
- v*
pull_request:
branches:
- master
- main
- release-*
# Manual trigger
workflow_dispatch:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<a aria-label="NPM version" href="https://www.npmjs.com/package/@dapr/dapr">
<img alt="" src="https://img.shields.io/npm/v/@dapr/dapr?style=for-the-badge&labelColor=000000">
</a>
<a aria-label="License" href="https://github.com/dapr/js-sdk/blob/master/LICENSE">
<a aria-label="License" href="https://github.com/dapr/js-sdk/blob/main/LICENSE">
<img alt="" src="https://img.shields.io/badge/License-Apache_2.0-blue.svg?style=for-the-badge&labelColor=000000">
</a>
<a aria-label="Join the community on Discord" href="https://discord.com/invite/ptHhX6jc34">
Expand Down
2 changes: 1 addition & 1 deletion daprdocs/content/en/js-sdk-docs/js-actors/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ The below code examples loosely describe the scenario of a Parking Garage Spot M

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.

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).
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).

## Actor Interface
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:
Expand Down
2 changes: 1 addition & 1 deletion daprdocs/content/en/js-sdk-docs/js-server/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -239,4 +239,4 @@ start().catch((e) => {

## Related links

- [JavaScript SDK examples](https://github.com/dapr/js-sdk/tree/master/examples)
- [JavaScript SDK examples](https://github.com/dapr/js-sdk/tree/main/examples)
2 changes: 1 addition & 1 deletion documentation/development.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,4 +63,4 @@ Publishing is automated in the CI/CD pipeline. Each time a version is release (G

|Secret|Value|Usage|
|--|--|--|
|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|
|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|
2 changes: 1 addition & 1 deletion examples/distributedLock/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ It demonstrates the **Distributed Lock** API's following methods:

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

## Overview

Expand Down

0 comments on commit 8069be5

Please sign in to comment.