Skip to content

Commit

Permalink
Rename master branch name to main branch name (#28)
Browse files Browse the repository at this point in the history
  • Loading branch information
AshutoshAJ authored Sep 16, 2024
2 parents 4902d58 + 6bc2a40 commit 7762257
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: "Enforce Release or Hotfix Branch Merge"
on:
pull_request:
branches:
- master
- main

jobs:
check-branch:
Expand All @@ -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

0 comments on commit 7762257

Please sign in to comment.