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