Skip to content

Commit 7471e95

Browse files
authored
chore: update default branch name (#678)
## Description This PR updates the default branch name to match the new Git setup
1 parent c6fc842 commit 7471e95

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

.github/workflows/test.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44
workflow_call:
55
pull_request:
66
branches:
7-
- master
7+
- main
88
- beta
99
- '+([0-9])?(.{+([0-9]),x}).x'
1010

.husky/commit-msg

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
# https://typicode.github.io/husky/guide.html#disable-husky-in-ci-docker-prod
44
[ -n "$CI" ] && exit 0
55

6-
# only run commitlint on master (for admins pushing directly to branch)
7-
[ "$(git rev-parse --abbrev-ref HEAD)" != "master" ] && exit 0
6+
# only run commitlint on main (for admins pushing directly to branch)
7+
[ "$(git rev-parse --abbrev-ref HEAD)" != "main" ] && exit 0
88

99
. "$(dirname -- "$0")/_/husky.sh"
1010

.releaserc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"repositoryUrl": "git@github.com:kelektiv/node-cron.git",
33
"branches": [
4-
"master",
4+
"main",
55
{
66
"name": "beta",
77
"prerelease": true

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ var job = new CronJob(
4949

5050
Note - In the example above, the 4th parameter of `CronJob()` automatically starts the job on initialization. If this parameter is falsy or not provided, the job needs to be explicitly started using `job.start()`.
5151

52-
There are more examples available in this repository at: [/examples](https://github.com/kelektiv/node-cron/tree/master/examples)
52+
There are more examples available in this repository at: [/examples](https://github.com/kelektiv/node-cron/tree/main/examples)
5353

5454
## Available Cron patterns
5555

0 commit comments

Comments
 (0)