From 6bc2a40640649f3248d84a6034a85bdc619b3a66 Mon Sep 17 00:00:00 2001 From: Srikar Reddy Date: Tue, 17 Sep 2024 00:07:02 +0530 Subject: [PATCH] Rename master branch name to main branch name --- .github/workflows/{restrict-master.yml => restrict-main.yml} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename .github/workflows/{restrict-master.yml => restrict-main.yml} (92%) diff --git a/.github/workflows/restrict-master.yml b/.github/workflows/restrict-main.yml similarity index 92% rename from .github/workflows/restrict-master.yml rename to .github/workflows/restrict-main.yml index 2f05371..5dd8e6b 100644 --- a/.github/workflows/restrict-master.yml +++ b/.github/workflows/restrict-main.yml @@ -3,7 +3,7 @@ name: "Enforce Release or Hotfix Branch Merge" on: pull_request: branches: - - master + - main jobs: check-branch: @@ -12,5 +12,5 @@ jobs: - name: Check if PR is from the release or hotfix branch if: github.head_ref != 'release' && github.head_ref != 'hotfix' run: | - echo "Only the release or hotfix branch can be merged into master." + echo "Only the release or hotfix branch can be merged into main." exit 1