From c845f5299fa35bf32106836ed4ba9413871b31a2 Mon Sep 17 00:00:00 2001 From: Daniel Huber Date: Fri, 12 Nov 2021 17:53:11 +0000 Subject: [PATCH] Update GitHub Action workflows for master to main renaming --- .github/workflows/codeql.yaml | 4 ++-- .github/workflows/release.yml | 2 +- .releaserc | 2 +- README.md | 2 +- test/install/development.ts | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/codeql.yaml b/.github/workflows/codeql.yaml index 70ce120..cf1dfcc 100644 --- a/.github/workflows/codeql.yaml +++ b/.github/workflows/codeql.yaml @@ -4,10 +4,10 @@ name: "CodeQL" on: push: branches: - - master + - main pull_request: branches: - - master + - main schedule: - cron: "28 22 * * 3" diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 59f07da..8a096d0 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -3,7 +3,7 @@ name: Release on: push: branches: - - master + - main jobs: release: diff --git a/.releaserc b/.releaserc index 7085ae9..8e60f4d 100644 --- a/.releaserc +++ b/.releaserc @@ -1,6 +1,6 @@ { "branches": [ - "master" + "main" ], "plugins": [ "@semantic-release/commit-analyzer", diff --git a/README.md b/README.md index 6f029f7..349db8d 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ Installs nodecg-io to your current NodeCG installation into a subdirectory calle 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. -A development install clones the official git repository (`master`), installs dependencies builds all packages. +A development install clones the official git repository (`main`), installs dependencies builds all packages. 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. diff --git a/test/install/development.ts b/test/install/development.ts index 157a2b3..a0037b6 100644 --- a/test/install/development.ts +++ b/test/install/development.ts @@ -6,7 +6,7 @@ import * as dev from "../../src/install/development"; import { removeDirectory } from "../../src/utils/fs"; const defaultFetchResult: git.FetchResult = { - defaultBranch: "master", + defaultBranch: "main", fetchHead: "2aae6c35c94fcfb415dbe95f408b9ce91ee846ed", fetchHeadDescription: "", };