Skip to content

Commit

Permalink
chore: make the 'main' branch default
Browse files Browse the repository at this point in the history
  • Loading branch information
andrii-bodnar committed Jul 25, 2023
1 parent d292457 commit e651f94
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
- 'CONTRIBUTING.md'
- 'LICENSE'
pull_request:
branches: [ 'cli3' ]
branches: [ 'main' ]

jobs:
build:
Expand Down Expand Up @@ -65,7 +65,7 @@ jobs:

- name: Test Report
uses: dorny/test-reporter@v1
if: ${{ (success() || failure()) && github.ref == 'refs/heads/cli3' }}
if: ${{ (success() || failure()) && github.ref == 'refs/heads/main' }}
with:
name: Test results ${{ matrix.os }}
path: build/test-results/test/*.xml
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ Before sending your pull requests, make sure you followed the list below:

#### Contributing to the docs

The documentation is based on [Docusaurus](https://docusaurus.io/) framework. Source inside the [website](https://github.com/crowdin/crowdin-cli/tree/cli3/website) directory.
The documentation is based on [Docusaurus](https://docusaurus.io/) framework. Source inside the [website](https://github.com/crowdin/crowdin-cli/tree/main/website) directory.

- Go to the `website` directory:

Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@ This is a cross-platform and it runs in a terminal on Linux based and macOS oper
[![GitHub contributors](https://img.shields.io/github/contributors/crowdin/crowdin-cli?cacheSeconds=1000)](https://github.com/crowdin/crowdin-cli/graphs/contributors)
![GitHub](https://img.shields.io/github/license/crowdin/crowdin-cli?cacheSeconds=50000)

[![build-test](https://github.com/crowdin/crowdin-cli/actions/workflows/build-test.yml/badge.svg?branch=cli3)](https://github.com/crowdin/crowdin-cli/actions/workflows/build-test.yml)
[![CodeQL](https://github.com/crowdin/crowdin-cli/actions/workflows/codeql-analysis.yml/badge.svg?branch=cli3)](https://github.com/crowdin/crowdin-cli/actions/workflows/codeql-analysis.yml)
[![codecov](https://codecov.io/gh/crowdin/crowdin-cli/branch/cli3/graph/badge.svg)](https://codecov.io/gh/crowdin/crowdin-cli)
[![build-test](https://github.com/crowdin/crowdin-cli/actions/workflows/build-test.yml/badge.svg?branch=main)](https://github.com/crowdin/crowdin-cli/actions/workflows/build-test.yml)
[![CodeQL](https://github.com/crowdin/crowdin-cli/actions/workflows/codeql-analysis.yml/badge.svg?branch=main)](https://github.com/crowdin/crowdin-cli/actions/workflows/codeql-analysis.yml)
[![codecov](https://codecov.io/gh/crowdin/crowdin-cli/branch/main/graph/badge.svg)](https://codecov.io/gh/crowdin/crowdin-cli)

</div>

[<p align="center"><img src="https://github.com/raw/crowdin/crowdin-cli/cli3/website/static/img/cli-demo-image.png" data-canonical-src="https://github.com/raw/crowdin/crowdin-cli/cli3/website/static/img/cli-demo-image.png" width="100%" height="auto" align="center"/></p>](https://crowdin.com)
[<p align="center"><img src="https://github.com/raw/crowdin/crowdin-cli/main/website/static/img/cli-demo-image.png" data-canonical-src="https://github.com/raw/crowdin/crowdin-cli/main/website/static/img/cli-demo-image.png" width="100%" height="auto" align="center"/></p>](https://crowdin.com)

## Usage

Expand Down
2 changes: 1 addition & 1 deletion release.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module.exports = {
branches: [
"cli3"
"main"
],
repositoryUrl: "https://github.com/crowdin/crowdin-cli",
tagFormat: "${version}",
Expand Down
2 changes: 1 addition & 1 deletion website/docs/intro.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ This is a cross-platform, and it runs in a terminal on Linux based and macOS ope
[![npm](https://img.shields.io/npm/dt/@crowdin/cli?logo=npm&cacheSeconds=2000)](https://www.npmjs.com/package/@crowdin/cli)
[![homebrew downloads](https://img.shields.io/homebrew/installs/dy/crowdin?logo=homebrew)](https://formulae.brew.sh/formula/crowdin)
[![GitHub contributors](https://img.shields.io/github/contributors/crowdin/crowdin-cli?cacheSeconds=1000)](https://github.com/crowdin/crowdin-cli/graphs/contributors)
[![codecov](https://codecov.io/gh/crowdin/crowdin-cli/branch/cli3/graph/badge.svg)](https://codecov.io/gh/crowdin/crowdin-cli)
[![codecov](https://codecov.io/gh/crowdin/crowdin-cli/branch/main/graph/badge.svg)](https://codecov.io/gh/crowdin/crowdin-cli)
![GitHub](https://img.shields.io/github/license/crowdin/crowdin-cli?cacheSeconds=50000)
[![GitHub Repo stars](https://img.shields.io/github/stars/crowdin/crowdin-cli?style=social&cacheSeconds=1800)](https://github.com/crowdin/crowdin-cli/stargazers)

Expand Down
2 changes: 1 addition & 1 deletion website/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const config = {
docs: {
routeBasePath: '/',
sidebarPath: require.resolve('./sidebars.js'),
editUrl: 'https://github.com/crowdin/crowdin-cli/tree/cli3/website/',
editUrl: 'https://github.com/crowdin/crowdin-cli/tree/main/website/',
},
blog: false,
theme: {
Expand Down

0 comments on commit e651f94

Please sign in to comment.