New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Change all references to master branch to trunk #45234
Change all references to master branch to trunk #45234
Conversation
This PR does not affect the size of JS and CSS bundles shipped to the user's browser. Generated by performance advisor bot at iscalypsofastyet.com. |
@@ -11,8 +11,8 @@ console.log( | |||
|
|||
const currentBranch = execSync( 'git rev-parse --abbrev-ref HEAD' ).toString().trim(); | |||
|
|||
if ( 'master' === currentBranch ) { | |||
if ( ! readline.keyInYN( "You're about to push !!![ master ]!!!, is that what you intended?" ) ) { | |||
if ( 'trunk' === currentBranch ) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you think we need to support trunk
and master
for a period of time while we wait for everybody to rename their local branches?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, that's a good idea. That should also be helped by the calypso-doctor
check I'm going to add as well.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There's an occurrence of origin/master
in .github/workflows/icfy-stats.yml
- perhaps we should replace that too?
94507e6
to
667418c
Compare
Changes proposed in this Pull Request
Testing instructions
Related to #43395 and #45230
Do not merge until after we rename the branch