Skip to content

Commit

Permalink
Rename master branch name to main branch name
Browse files Browse the repository at this point in the history
  • Loading branch information
gSrikar authored Sep 16, 2024
1 parent 4902d58 commit 6bc2a40
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 6bc2a40

Please sign in to comment.