Skip to content
This repository was archived by the owner on Mar 26, 2023. It is now read-only.

Commit 5d0130d

Browse files
committed
Move to main
1 parent e4d2b16 commit 5d0130d

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

.github/workflows/ci.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ name: CI
33
on:
44
push:
55
branches:
6-
- master
6+
- main
77
pull_request:
88
branches:
9-
- master
9+
- main
1010

1111
jobs:
1212
build:

Dangerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ is_editing_draft = !(git.modified_files.grep(/_drafts/).empty?)
55
if is_editing_draft || is_adding_draft
66
editing_message = <<-EOS
77
Looks like you're editing a draft! 🤓
8-
**Don't forget** to review [our style guide](https://github.com/SwiftWeekly/swiftweekly.github.io/blob/master/CONTRIBUTING.md#-writing-style-guide) and [publish the issue](https://github.com/SwiftWeekly/swiftweekly.github.io/blob/master/CONTRIBUTING.md#-publishing-an-issue) when you're finished.
8+
**Don't forget** to review [our style guide](https://github.com/SwiftWeekly/swiftweekly.github.io/blob/main/CONTRIBUTING.md#-writing-style-guide) and [publish the issue](https://github.com/SwiftWeekly/swiftweekly.github.io/blob/main/CONTRIBUTING.md#-publishing-an-issue) when you're finished.
99
EOS
1010
warn(editing_message)
1111
end
@@ -16,7 +16,7 @@ if is_publishing_issue
1616
publish_message = <<-EOS
1717
Looks like you're publishing a new issue! 🎉
1818
**Don't forget to:**
19-
1. Review [our style guide](https://github.com/SwiftWeekly/swiftweekly.github.io/blob/master/CONTRIBUTING.md#-writing-style-guide) before merging
19+
1. Review [our style guide](https://github.com/SwiftWeekly/swiftweekly.github.io/blob/main/CONTRIBUTING.md#-writing-style-guide) before merging
2020
2. After you merge, close the GitHub issue notes for this newsletter issue
2121
3. Open the next GitHub issue, add the correct labels, assign it to the next writer
2222
4. Run the `new_draft.sh` script and push the next draft

_includes/social_share.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
{% assign base_edit_url = 'https://github.com/SwiftWeekly/' | append: site.repo_name | append: '/edit/master/_posts/' %}
2+
{% assign base_edit_url = 'https://github.com/SwiftWeekly/' | append: site.repo_name | append: '/edit/main/_posts/' %}
33

44
{% assign issue_date = page.date | date: "%Y-%m-%d" %}
55
{% assign issue_number = page.title | remove: 'Issue #' %}

authors.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
---
55

66
<h1 class="text-center">{{ page.title }}</h1>
7-
<p class="lead text-center">Interested in contributing? <a href="https://github.com/SwiftWeekly/swiftweekly.github.io/blob/master/CONTRIBUTING.md">Learn how</a>.</p>
7+
<p class="lead text-center">Interested in contributing? <a href="https://github.com/SwiftWeekly/swiftweekly.github.io/blob/main/CONTRIBUTING.md">Learn how</a>.</p>
88
<br />
99
<div class="row">
1010
<div class="col-sm-10 col-sm-offset-1 col-md-10 col-md-offset-1">

github_issue_generator.rb

+2-2
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,9 @@ def run
4343
repo = 'SwiftWeekly/swiftweekly.github.io'
4444
title = "[#{@number}] Issue \##{@number} - #{@date}"
4545
body = <<-MD
46-
To contribute to this issue, simply leave a comment here. Please also review [our contributing guidelines](https://github.com/SwiftWeekly/swiftweekly.github.io/blob/master/CONTRIBUTING.md).
46+
To contribute to this issue, simply leave a comment here. Please also review [our contributing guidelines](https://github.com/SwiftWeekly/swiftweekly.github.io/blob/main/CONTRIBUTING.md).
4747
48-
The current draft for this issue in [`_drafts/`](https://github.com/SwiftWeekly/swiftweekly.github.io/tree/master/_drafts). If you want to contribute directly, feel free to [open a pull request](https://github.com/SwiftWeekly/swiftweekly.github.io/compare?expand=1).
48+
The current draft for this issue in [`_drafts/`](https://github.com/SwiftWeekly/swiftweekly.github.io/tree/main/_drafts). If you want to contribute directly, feel free to [open a pull request](https://github.com/SwiftWeekly/swiftweekly.github.io/compare?expand=1).
4949
MD
5050

5151
labels = ['full issue notes']

0 commit comments

Comments
 (0)