diff --git a/.github/workflows/integration-test.yml b/.github/workflows/integration-test.yml index 0f4f717..be2de1e 100644 --- a/.github/workflows/integration-test.yml +++ b/.github/workflows/integration-test.yml @@ -27,7 +27,7 @@ on: - '**.md' - 'renovate.json' branches: - - master + - main pull_request: types: [ labeled, opened, synchronize, reopened ] schedule: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 69dbd5c..a11bbc2 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -2,7 +2,7 @@ name: Create GH release on version change on: push: branches: - - master + - main jobs: release: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a10b3f1..8cd9f83 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -2,7 +2,7 @@ name: pi-gen-action-unit-tests on: push: branches: - - master + - main paths-ignore: - '**.md' - 'renovate.json' diff --git a/README.md b/README.md index 4ca58aa..5d20f66 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ [![unit-tests](https://github.com/usimd/pi-gen-action/actions/workflows/test.yml/badge.svg)](https://github.com/usimd/pi-gen-action/actions/workflows/test.yml) [![integration-tests](https://github.com/usimd/pi-gen-action/actions/workflows/integration-test.yml/badge.svg)](https://github.com/usimd/pi-gen-action/actions/workflows/integration-test.yml) -[![codecov](https://codecov.io/gh/usimd/pi-gen-action/branch/master/graph/badge.svg?token=4O680QXTOC)](https://codecov.io/gh/usimd/pi-gen-action) +[![codecov](https://codecov.io/gh/usimd/pi-gen-action/branch/main/graph/badge.svg?token=4O680QXTOC)](https://codecov.io/gh/usimd/pi-gen-action) # pi-gen-action diff --git a/__test__/git.test.ts b/__test__/git.test.ts index a2cab1f..80bc530 100644 --- a/__test__/git.test.ts +++ b/__test__/git.test.ts @@ -4,7 +4,7 @@ import * as fs from 'fs' describe('Git', () => { it.each([ - ['master', true], + ['main', true], ['non-existing-branch', false] ])('determines correctly if branch %s exists', async (branchName, exists) => { const git = await Git.getInstance('.', '', false)