Skip to content

Commit 28907e8

Browse files
authored
Merge pull request #1319 from Shopify/update-master-to-main
Update master to main
2 parents 2181e07 + 0400cd0 commit 28907e8

File tree

8 files changed

+9
-9
lines changed

8 files changed

+9
-9
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -641,7 +641,7 @@ Your deploy scripts have access to the following environment variables:
641641
* `GITHUB_REPO_OWNER`: The GitHub username of the repository owner for the current deploy/task.
642642
* `EMAIL`: Email of the user that triggered the deploy/task (if available)
643643
* `ENVIRONMENT`: The stack environment (e.g `production` / `staging`)
644-
* `BRANCH`: The stack branch (e.g `master`)
644+
* `BRANCH`: The stack branch (e.g `main`)
645645
* `LAST_DEPLOYED_SHA`: The git SHA of the last deployed commit
646646
* `DIFF_LINK`: URL to the diff on GitHub.
647647
* `TASK_ID`: ID of the task that is running

app/views/shipit/merge_status/failure.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
</h4>
1616
<span class="status-meta">
1717
<%= link_to @stack.to_param, stack_url(@stack), target: '_blank', rel: 'noopener' %>
18-
<strong>master branch is failing!</strong>
18+
<strong>main branch is failing!</strong>
1919
</span>
2020
<%= render 'commit_count_warning' if display_commit_count_warning?(params[:commits].to_i) %>
2121
</div>

config/secrets.development.example.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
host: 'localhost:3000'
22
redis_url: 'redis://127.0.0.1:6379/0'
33

4-
# For creating an app see: https://github.com/Shopify/shipit-engine/blob/master/docs/setup.md#creating-the-github-app
4+
# For creating an app see: https://github.com/Shopify/shipit-engine/blob/main/docs/setup.md#creating-the-github-app
55
# Can be obtained there: https://github.com/settings/apps
66
# Set the "Authorization callback URL" as `<host>/github/auth/github/callback`
77

config/secrets.development.shopify.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
host: 'shipit-engine.myshopify.io'
22
redis_url: 'redis://shipit-engine.railgun:6379'
33

4-
# For creating an app see: https://github.com/Shopify/shipit-engine/blob/master/docs/setup.md#creating-the-github-app
4+
# For creating an app see: https://github.com/Shopify/shipit-engine/blob/main/docs/setup.md#creating-the-github-app
55

66
github:
77
somegithuborg:

contrib/browser-extension/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# Shipit Browser Extension
22

3-
If you have ever pushed to a broken `master` because you forgot to check CI/Slack then we have the extension for you.
3+
If you have ever pushed to a broken `main` because you forgot to check CI/Slack then we have the extension for you.
44

5-
This extension will alert you on GitHub's pull request page if `master` is broken, so that you can avoid the embarassment of having merged on red master.
5+
This extension will alert you on GitHub's pull request page if `main` is broken, so that you can avoid the embarassment of having merged on red master.
66

77
## Installation
88

docs/setup.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ In the future we'd like to provide it fully packaged inside a Docker container,
1515
Shipit provides you with a Rails template. To bootstrap your Shipit installation:
1616

1717
1. If you don't have Rails installed, run this command: `gem install rails -v 7.0`
18-
2. Run this command: `rails _7.0_ new shipit --skip-action-cable --skip-turbolinks --skip-action-mailer --skip-active-storage --skip-webpack-install --skip-action-mailbox --skip-action-text -m https://raw.githubusercontent.com/Shopify/shipit-engine/master/template.rb`
18+
2. Run this command: `rails _7.0_ new shipit --skip-action-cable --skip-turbolinks --skip-action-mailer --skip-active-storage --skip-webpack-install --skip-action-mailbox --skip-action-text -m https://raw.githubusercontent.com/Shopify/shipit-engine/main/template.rb`
1919

2020
## Creating the GitHub App
2121

lib/shipit/stack_commands.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ def git_cmd_succeeds?(path)
106106
.success?
107107
end
108108

109-
def git_clone(url, path, branch: 'master', **kwargs)
109+
def git_clone(url, path, branch: 'main', **kwargs)
110110
git('clone', '--quiet', *modern_git_args, '--recursive', '--branch', branch, url, path, **kwargs)
111111
end
112112

template.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,5 +151,5 @@
151151
)
152152
end
153153

154-
say("Read https://github.com/Shopify/shipit-engine/blob/master/docs/setup.md for the details on how to create the App and update config/secrets.yml", Thor::Shell::Color::GREEN, true)
154+
say("Read https://github.com/Shopify/shipit-engine/blob/main/docs/setup.md for the details on how to create the App and update config/secrets.yml", Thor::Shell::Color::GREEN, true)
155155
end

0 commit comments

Comments
 (0)