From 6320e925c38f845553af4d022b0fc772857ea761 Mon Sep 17 00:00:00 2001 From: Elias Papavasileiou Date: Tue, 27 Jun 2023 16:29:27 +0300 Subject: [PATCH] fix: rename main branch to master --- test/integration/__utils__/withGitIntegration.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/integration/__utils__/withGitIntegration.js b/test/integration/__utils__/withGitIntegration.js index 670940fc4..1ff497c40 100644 --- a/test/integration/__utils__/withGitIntegration.js +++ b/test/integration/__utils__/withGitIntegration.js @@ -81,6 +81,9 @@ export const withGitIntegration = // Init repository with initial commit await utils.execGit('init') + // Rename default main branch to master for tests to pass on local environment + await utils.execGit(['branch', '-m', 'master']) + if (isWindowsActions()) { await utils.execGit(['config', 'core.autocrlf', 'input']) }