Skip to content
This repository was archived by the owner on Apr 13, 2025. It is now read-only.

Commit bb9e162

Browse files
authored
Update GitHub Action workflows for master to main renaming (#26)
1 parent 8ff3a2d commit bb9e162

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

.github/workflows/codeql.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ name: "CodeQL"
44
on:
55
push:
66
branches:
7-
- master
7+
- main
88
pull_request:
99
branches:
10-
- master
10+
- main
1111
schedule:
1212
- cron: "28 22 * * 3"
1313

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Release
33
on:
44
push:
55
branches:
6-
- master
6+
- main
77

88
jobs:
99
release:

.releaserc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"branches": [
3-
"master"
3+
"main"
44
],
55
"plugins": [
66
"@semantic-release/commit-analyzer",

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Installs nodecg-io to your current NodeCG installation into a subdirectory calle
2929

3030
A production install fetches tarballs of the needed packages from the official npm registry, unpacks them, creates a `package.json` with all packages in a npm v7 workspace configuration and installs dependencies that way.
3131

32-
A development install clones the official git repository (`master`), installs dependencies builds all packages.
32+
A development install clones the official git repository (`main`), installs dependencies builds all packages.
3333

3434
Either way at the end of the installation it will automatically add the nodecg-io directory (and samples if dev install and selected) to the `bundles.paths` array of your NodeCG configuration. If you don't have a NodeCG configuration it will create one for you.
3535

test/install/development.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import * as dev from "../../src/install/development";
66
import { removeDirectory } from "../../src/utils/fs";
77

88
const defaultFetchResult: git.FetchResult = {
9-
defaultBranch: "master",
9+
defaultBranch: "main",
1010
fetchHead: "2aae6c35c94fcfb415dbe95f408b9ce91ee846ed",
1111
fetchHeadDescription: "",
1212
};

0 commit comments

Comments
 (0)