Skip to content

Commit

Permalink
update branch refs from 'master' to 'main'
Browse files Browse the repository at this point in the history
  • Loading branch information
fabriciojs committed Aug 13, 2022
1 parent 1b596be commit 5047f8f
Show file tree
Hide file tree
Showing 23 changed files with 29 additions and 29 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ name: "CodeQL"

on:
push:
branches: [master]
branches: [main]
pull_request:
# The branches below must be a subset of the branches above
branches: [master]
branches: [main]
schedule:
- cron: '0 8 * * 3'

Expand Down Expand Up @@ -47,7 +47,7 @@ jobs:
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.
# queries: ./path/to/local/query, your-org/your-repo/queries@main

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/docker-description.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Sync Docker Hub Description
on:
push:
branches:
- master
- main
paths:
- README.md
- .github/workflows/docker-description.yml
Expand All @@ -15,7 +15,7 @@ jobs:
- uses: actions/checkout@v2

- name: Sync Docker Hub Description
if: github.ref == 'refs/heads/master' && github.repository == 'kool-dev/kool'
if: github.ref == 'refs/heads/main' && github.repository == 'kool-dev/kool'
uses: peter-evans/dockerhub-description@v2
env:
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/docs-sync-master.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
name: Docs Sync Master
name: Docs Sync Main

on:
workflow_dispatch:

jobs:
docs-sync-master:
docs-sync-main:
runs-on: ubuntu-latest
steps:
- run: curl -fsSL "http://kool.dev/sync-docs?token=$KOOL_DEV_DOCS_TOKEN&from=master"
- run: curl -fsSL "http://kool.dev/sync-docs?token=$KOOL_DEV_DOCS_TOKEN&from=main"
env:
KOOL_DEV_DOCS_TOKEN: ${{ secrets.KOOL_DEV_DOCS_TOKEN }}
2 changes: 1 addition & 1 deletion .github/workflows/golangci-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: golangci-lint
on:
push:
branches:
- master
- mainn
pull_request:
permissions:
contents: read
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-drafter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Release Drafter
on:
push:
branches:
- master
- main
pull_request:
types: [opened, reopened, synchronize]
pull_request_target:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: scan
on:
push:
branches:
- master
- main
pull_request:

jobs:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
on:
push:
branches:
- master
- main
pull_request:
name: go test
jobs:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

<p align="center">
<a href="https://goreportcard.com/report/github.com/kool-dev/kool"><img src="https://goreportcard.com/badge/github.com/kool-dev/kool" alt="Go Report Card"></a>
<a href="https://codecov.io/gh/kool-dev/kool"><img src="https://codecov.io/gh/kool-dev/kool/branch/master/graph/badge.svg" alt="codecov"></a>
<a href="https://codecov.io/gh/kool-dev/kool"><img src="https://codecov.io/gh/kool-dev/kool/branch/main/graph/badge.svg" alt="codecov"></a>
<a href="https://github.com/kool-dev/kool/workflows/docker"><img src="https://github.com/kool-dev/kool/workflows/docker/badge.svg" alt="Docker Hub"></a>
<a href="https://github.com/kool-dev/kool/workflows/golangci-lint"><img src="https://github.com/kool-dev/kool/workflows/golangci-lint/badge.svg" alt="Golang CI Lint"></a>
<a href="https://codeclimate.com/github/kool-dev/kool/maintainability"><img src="https://api.codeclimate.com/v1/badges/1511f826de92d2ab39cc/maintainability" alt="Maintainability"></a>
Expand Down
2 changes: 1 addition & 1 deletion RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

For generating a new release we follow the steps:

- Get latest `master` branch.
- Get latest `main` branch.
- Make sure docs are updated - `kool run make-docs`
- Make sure formatting is correct - `kool run fmt`
- Make sure there are no syntax/stylistic errors - `kool run lint`
Expand Down
4 changes: 2 additions & 2 deletions docs/1-Getting-Started/3-How-it-works.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ When performing an output redirect, the last argument after the redirect key **m

#### Learn More

Learn more by taking a closer look at the **kool.yml** files in our [Presets](https://github.com/kool-dev/kool/tree/master/presets). They contain good examples of prebuilt commands that are ready to use in a handful of different stacks. If you need help creating custom scripts based on your own unique needs, don't hesitate to [ask us on Slack](https://kool.dev/slack).
Learn more by taking a closer look at the **kool.yml** files in our [Presets](https://github.com/kool-dev/kool/tree/main/presets). They contain good examples of prebuilt commands that are ready to use in a handful of different stacks. If you need help creating custom scripts based on your own unique needs, don't hesitate to [ask us on Slack](https://kool.dev/slack).

<a name="better-development-workflow"></a>
## A Better Development Workflow
Expand All @@ -156,7 +156,7 @@ Use the [`kool exec` command](https://kool.dev/docs/commands/kool-exec) to execu
$ kool exec app ls
```

Look at the **kool.yml** files in the [Presets](https://github.com/kool-dev/kool/tree/master/presets) to see other examples of `kool exec` commands used in scripts.
Look at the **kool.yml** files in the [Presets](https://github.com/kool-dev/kool/tree/main/presets) to see other examples of `kool exec` commands used in scripts.

### Open Sessions

Expand Down
2 changes: 1 addition & 1 deletion docs/2-Presets/2-Monorepo-NestJS-with-NextJS.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ The first step may take a couple of minutes for installing all the dependencies
### Extra steps

If you are using Database or Cache services for your NestJS backend you need to setup some environment variables. [Check out our NestJS preset documentation](https://github.com/kool-dev/kool/blob/master/docs/2-Presets/NestJS.md#nestjs-configuration).
If you are using Database or Cache services for your NestJS backend you need to setup some environment variables. [Check out our NestJS preset documentation](https://github.com/kool-dev/kool/blob/main/docs/2-Presets/NestJS.md#nestjs-configuration).

## Requirements

Expand Down
2 changes: 1 addition & 1 deletion docs/2-Presets/AdonisJs.md
Original file line number Diff line number Diff line change
Expand Up @@ -258,4 +258,4 @@ We have more presets to help you start projects with **kool** in a standardized
- **[Symfony](/docs/2-Presets/Symfony.md)**
- **[WordPress](/docs/2-Presets/WordPress.md)**

Missing a preset? **[Make a request](https://github.com/kool-dev/kool/issues/new)**, or contribute by opening a Pull Request. Go to [https://github.com/kool-dev/kool/tree/master/presets](https://github.com/kool-dev/kool/tree/master/presets) and browse the code to learn more about how presets work.
Missing a preset? **[Make a request](https://github.com/kool-dev/kool/issues/new)**, or contribute by opening a Pull Request. Go to [https://github.com/kool-dev/kool/tree/main/presets](https://github.com/kool-dev/kool/tree/main/presets) and browse the code to learn more about how presets work.
2 changes: 1 addition & 1 deletion docs/2-Presets/CodeIgniter.md
Original file line number Diff line number Diff line change
Expand Up @@ -252,4 +252,4 @@ We have more presets to help you start projects with **kool** in a standardized
- **[Symfony](/docs/2-Presets/Symfony.md)**
- **[WordPress](/docs/2-Presets/WordPress.md)**

Missing a preset? **[Make a request](https://github.com/kool-dev/kool/issues/new)**, or contribute by opening a Pull Request. Go to [https://github.com/kool-dev/kool/tree/master/presets](https://github.com/kool-dev/kool/tree/master/presets) and browse the code to learn more about how presets work.
Missing a preset? **[Make a request](https://github.com/kool-dev/kool/issues/new)**, or contribute by opening a Pull Request. Go to [https://github.com/kool-dev/kool/tree/main/presets](https://github.com/kool-dev/kool/tree/main/presets) and browse the code to learn more about how presets work.
2 changes: 1 addition & 1 deletion docs/2-Presets/ExpressJS.md
Original file line number Diff line number Diff line change
Expand Up @@ -171,4 +171,4 @@ We have more presets to help you start projects with **kool** in a standardized
- **[Symfony](/docs/2-Presets/Symfony.md)**
- **[WordPress](/docs/2-Presets/WordPress.md)**

Missing a preset? **[Make a request](https://github.com/kool-dev/kool/issues/new)**, or contribute by opening a Pull Request. Go to [https://github.com/kool-dev/kool/tree/master/presets](https://github.com/kool-dev/kool/tree/master/presets) and browse the code to learn more about how presets work.
Missing a preset? **[Make a request](https://github.com/kool-dev/kool/issues/new)**, or contribute by opening a Pull Request. Go to [https://github.com/kool-dev/kool/tree/main/presets](https://github.com/kool-dev/kool/tree/main/presets) and browse the code to learn more about how presets work.
2 changes: 1 addition & 1 deletion docs/2-Presets/Hugo.md
Original file line number Diff line number Diff line change
Expand Up @@ -190,4 +190,4 @@ We have more presets to help you start projects with **kool** in a standardized
- **[Symfony](/docs/2-Presets/Symfony.md)**
- **[WordPress](/docs/2-Presets/WordPress.md)**
Missing a preset? **[Make a request](https://github.com/kool-dev/kool/issues/new)**, or contribute by opening a Pull Request. Go to [https://github.com/kool-dev/kool/tree/master/presets](https://github.com/kool-dev/kool/tree/master/presets) and browse the code to learn more about how presets work.
Missing a preset? **[Make a request](https://github.com/kool-dev/kool/issues/new)**, or contribute by opening a Pull Request. Go to [https://github.com/kool-dev/kool/tree/main/presets](https://github.com/kool-dev/kool/tree/main/presets) and browse the code to learn more about how presets work.
2 changes: 1 addition & 1 deletion docs/2-Presets/Laravel.md
Original file line number Diff line number Diff line change
Expand Up @@ -243,4 +243,4 @@ We have more presets to help you start projects with **kool** in a standardized
- **[Symfony](/docs/2-Presets/Symfony.md)**
- **[WordPress](/docs/2-Presets/WordPress.md)**

Missing a preset? **[Make a request](https://github.com/kool-dev/kool/issues/new)**, or contribute by opening a Pull Request. Go to [https://github.com/kool-dev/kool/tree/master/presets](https://github.com/kool-dev/kool/tree/master/presets) and browse the code to learn more about how presets work.
Missing a preset? **[Make a request](https://github.com/kool-dev/kool/issues/new)**, or contribute by opening a Pull Request. Go to [https://github.com/kool-dev/kool/tree/main/presets](https://github.com/kool-dev/kool/tree/main/presets) and browse the code to learn more about how presets work.
2 changes: 1 addition & 1 deletion docs/2-Presets/NestJS.md
Original file line number Diff line number Diff line change
Expand Up @@ -229,4 +229,4 @@ We have more presets to help you start projects with **kool** in a standardized
- **[Symfony](/docs/2-Presets/Symfony.md)**
- **[WordPress](/docs/2-Presets/WordPress.md)**

Missing a preset? **[Make a request](https://github.com/kool-dev/kool/issues/new)**, or contribute by opening a Pull Request. Go to [https://github.com/kool-dev/kool/tree/master/presets](https://github.com/kool-dev/kool/tree/master/presets) and browse the code to learn more about how presets work.
Missing a preset? **[Make a request](https://github.com/kool-dev/kool/issues/new)**, or contribute by opening a Pull Request. Go to [https://github.com/kool-dev/kool/tree/main/presets](https://github.com/kool-dev/kool/tree/main/presets) and browse the code to learn more about how presets work.
2 changes: 1 addition & 1 deletion docs/2-Presets/NextJS.md
Original file line number Diff line number Diff line change
Expand Up @@ -174,4 +174,4 @@ We have more presets to help you start projects with **kool** in a standardized
- **[Symfony](/docs/2-Presets/Symfony.md)**
- **[WordPress](/docs/2-Presets/WordPress.md)**

Missing a preset? **[Make a request](https://github.com/kool-dev/kool/issues/new)**, or contribute by opening a Pull Request. Go to [https://github.com/kool-dev/kool/tree/master/presets](https://github.com/kool-dev/kool/tree/master/presets) and browse the code to learn more about how presets work.
Missing a preset? **[Make a request](https://github.com/kool-dev/kool/issues/new)**, or contribute by opening a Pull Request. Go to [https://github.com/kool-dev/kool/tree/main/presets](https://github.com/kool-dev/kool/tree/main/presets) and browse the code to learn more about how presets work.
2 changes: 1 addition & 1 deletion docs/2-Presets/NodeJS.md
Original file line number Diff line number Diff line change
Expand Up @@ -170,4 +170,4 @@ We have more presets to help you start projects with **kool** in a standardized
- **[Symfony](/docs/2-Presets/Symfony.md)**
- **[WordPress](/docs/2-Presets/WordPress.md)**

Missing a preset? **[Make a request](https://github.com/kool-dev/kool/issues/new)**, or contribute by opening a Pull Request. Go to [https://github.com/kool-dev/kool/tree/master/presets](https://github.com/kool-dev/kool/tree/master/presets) and browse the code to learn more about how presets work.
Missing a preset? **[Make a request](https://github.com/kool-dev/kool/issues/new)**, or contribute by opening a Pull Request. Go to [https://github.com/kool-dev/kool/tree/main/presets](https://github.com/kool-dev/kool/tree/main/presets) and browse the code to learn more about how presets work.
2 changes: 1 addition & 1 deletion docs/2-Presets/NuxtJS.md
Original file line number Diff line number Diff line change
Expand Up @@ -201,4 +201,4 @@ We have more presets to help you start projects with **kool** in a standardized
- **[Symfony](/docs/2-Presets/Symfony.md)**
- **[WordPress](/docs/2-Presets/WordPress.md)**

Missing a preset? **[Make a request](https://github.com/kool-dev/kool/issues/new)**, or contribute by opening a Pull Request. Go to [https://github.com/kool-dev/kool/tree/master/presets](https://github.com/kool-dev/kool/tree/master/presets) and browse the code to learn more about how presets work.
Missing a preset? **[Make a request](https://github.com/kool-dev/kool/issues/new)**, or contribute by opening a Pull Request. Go to [https://github.com/kool-dev/kool/tree/main/presets](https://github.com/kool-dev/kool/tree/main/presets) and browse the code to learn more about how presets work.
2 changes: 1 addition & 1 deletion docs/2-Presets/PHP.md
Original file line number Diff line number Diff line change
Expand Up @@ -183,4 +183,4 @@ We have more presets to help you start projects with **kool** in a standardized
- **[Symfony](/docs/2-Presets/Symfony.md)**
- **[WordPress](/docs/2-Presets/WordPress.md)**

Missing a preset? **[Make a request](https://github.com/kool-dev/kool/issues/new)**, or contribute by opening a Pull Request. Go to [https://github.com/kool-dev/kool/tree/master/presets](https://github.com/kool-dev/kool/tree/master/presets) and browse the code to learn more about how presets work.
Missing a preset? **[Make a request](https://github.com/kool-dev/kool/issues/new)**, or contribute by opening a Pull Request. Go to [https://github.com/kool-dev/kool/tree/main/presets](https://github.com/kool-dev/kool/tree/main/presets) and browse the code to learn more about how presets work.
2 changes: 1 addition & 1 deletion docs/2-Presets/Symfony.md
Original file line number Diff line number Diff line change
Expand Up @@ -236,4 +236,4 @@ We have more presets to help you start projects with **kool** in a standardized
- **[PHP](/docs/2-Presets/PHP.md)**
- **[WordPress](/docs/2-Presets/WordPress.md)**

Missing a preset? **[Make a request](https://github.com/kool-dev/kool/issues/new)**, or contribute by opening a Pull Request. Go to [https://github.com/kool-dev/kool/tree/master/presets](https://github.com/kool-dev/kool/tree/master/presets) and browse the code to learn more about how presets work.
Missing a preset? **[Make a request](https://github.com/kool-dev/kool/issues/new)**, or contribute by opening a Pull Request. Go to [https://github.com/kool-dev/kool/tree/main/presets](https://github.com/kool-dev/kool/tree/main/presets) and browse the code to learn more about how presets work.
2 changes: 1 addition & 1 deletion docs/2-Presets/WordPress.md
Original file line number Diff line number Diff line change
Expand Up @@ -232,4 +232,4 @@ We have more presets to help you start projects with **kool** in a standardized
- **[PHP](/docs/2-Presets/PHP.md)**
- **[Symfony](/docs/2-Presets/Symfony.md)**

Missing a preset? **[Make a request](https://github.com/kool-dev/kool/issues/new)**, or contribute by opening a Pull Request. Go to [https://github.com/kool-dev/kool/tree/master/presets](https://github.com/kool-dev/kool/tree/master/presets) and browse the code to learn more about how presets work.
Missing a preset? **[Make a request](https://github.com/kool-dev/kool/issues/new)**, or contribute by opening a Pull Request. Go to [https://github.com/kool-dev/kool/tree/main/presets](https://github.com/kool-dev/kool/tree/main/presets) and browse the code to learn more about how presets work.

0 comments on commit 5047f8f

Please sign in to comment.