From 64a1fafc9d52f716de37f1897dc021d9adff5b25 Mon Sep 17 00:00:00 2001 From: Andrii Bodnar Date: Tue, 25 Jul 2023 17:15:35 +0300 Subject: [PATCH] chore: make the 'main' branch default --- .github/workflows/build-test.yml | 4 ++-- CONTRIBUTING.md | 10 +++++----- README.md | 8 ++++---- release.config.js | 2 +- website/docs/intro.md | 2 +- website/docusaurus.config.js | 2 +- 6 files changed, 14 insertions(+), 14 deletions(-) diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml index ce183d530..cfe36dfad 100644 --- a/.github/workflows/build-test.yml +++ b/.github/workflows/build-test.yml @@ -10,7 +10,7 @@ on: - 'CONTRIBUTING.md' - 'LICENSE' pull_request: - branches: [ 'cli3' ] + branches: [ 'main' ] jobs: build: @@ -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 diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index e61d5d06e..7ea867fb0 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -20,7 +20,7 @@ When you are creating a bug report, please include as many details as possible. #### How Do I Submit a Bug Report? -Bugs are tracked as [GitHub issues](https://github.com/crowdin/crowdin-cli-2/issues/). +Bugs are tracked as [GitHub issues](https://github.com/crowdin/crowdin-cli/issues/). Explain the problem and include additional details to help reproduce the problem: @@ -42,7 +42,7 @@ When you are creating an enhancement suggestion, please include as many details #### How Do I Submit an Enhancement Suggestion? -Enhancement suggestions are tracked as [GitHub issues](https://github.com/crowdin/crowdin-cli-2/issues/). +Enhancement suggestions are tracked as [GitHub issues](https://github.com/crowdin/crowdin-cli/issues/). Create an issue on that repository and provide the following information: @@ -55,8 +55,8 @@ Create an issue on that repository and provide the following information: Unsure where to begin contributing to Crowdin CLI? You can start by looking through these `good-first-issue` and `help-wanted` issues: -* [Good first issue](https://github.com/crowdin/crowdin-cli-2/issues?q=is%3Aopen+is%3Aissue+label%3A%22good+first+issue%22) - issues which should only require a small amount of code, and a test or two. -* [Help wanted](https://github.com/crowdin/crowdin-cli-2/issues?q=is%3Aopen+is%3Aissue+label%3A%22help+wanted%22) - issues which should be a bit more involved than `Good first issue` issues. +* [Good first issue](https://github.com/crowdin/crowdin-cli/issues?q=is%3Aopen+is%3Aissue+label%3A%22good+first+issue%22) - issues which should only require a small amount of code, and a test or two. +* [Help wanted](https://github.com/crowdin/crowdin-cli/issues?q=is%3Aopen+is%3Aissue+label%3A%22help+wanted%22) - issues which should be a bit more involved than `Good first issue` issues. #### Pull Request Checklist @@ -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: diff --git a/README.md b/README.md index 2e1c52b58..90808d674 100644 --- a/README.md +++ b/README.md @@ -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) -[

](https://crowdin.com) +[

](https://crowdin.com) ## Usage diff --git a/release.config.js b/release.config.js index e2ed4a937..151bdd0eb 100644 --- a/release.config.js +++ b/release.config.js @@ -1,6 +1,6 @@ module.exports = { branches: [ - "cli3" + "main" ], repositoryUrl: "https://github.com/crowdin/crowdin-cli", tagFormat: "${version}", diff --git a/website/docs/intro.md b/website/docs/intro.md index b35c7afd5..686509a48 100644 --- a/website/docs/intro.md +++ b/website/docs/intro.md @@ -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) diff --git a/website/docusaurus.config.js b/website/docusaurus.config.js index 12a5bd12d..7cfb3b4e4 100644 --- a/website/docusaurus.config.js +++ b/website/docusaurus.config.js @@ -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: {