From 583760713723d926a82ba09beeb07c0940a83f18 Mon Sep 17 00:00:00 2001 From: Corentin PRUNE Date: Mon, 22 Jan 2024 10:11:39 +0100 Subject: [PATCH] chore(ci): use master branch instead of main in CI scripts --- .github/workflows/commitlint.yml | 2 +- .github/workflows/release.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/commitlint.yml b/.github/workflows/commitlint.yml index 55c6e77d..c9e012b4 100644 --- a/.github/workflows/commitlint.yml +++ b/.github/workflows/commitlint.yml @@ -3,7 +3,7 @@ name: commitlint on: push: branches: - - main + - master pull_request: {} concurrency: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0070c794..fa5106f3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -10,9 +10,9 @@ jobs: fetch-depth: 0 - name: Verify branch name - if: github.ref != 'refs/heads/main' + if: github.ref != 'refs/heads/master' run: | - echo "🚨 The release must start from the main branch!" + echo "🚨 The release must start from the master branch!" exit 1 - name: Configure releaser details