Skip to content

Commit 4b62ba6

Browse files
authored
switch docs.rs to "main" as default branch (#3015)
1 parent f5bb069 commit 4b62ba6

File tree

6 files changed

+9
-9
lines changed

6 files changed

+9
-9
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: CI
33
on:
44
push:
55
branches:
6-
- master
6+
- main
77
pull_request:
88
schedule:
99
- cron: "0 0 * * *"

.github/workflows/commit-sqlx-changes.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
on:
22
pull_request_target:
33
branches:
4-
- master
4+
- main
55
types: [closed]
66

77
env:
@@ -33,7 +33,7 @@ jobs:
3333
- name: Ensure repository is up to date
3434
run: |
3535
git fetch origin
36-
git rebase origin/master
36+
git rebase origin/main
3737
3838
- name: install `just`
3939
run: sudo snap install --edge --classic just
@@ -59,11 +59,11 @@ jobs:
5959
- name: run database migrations
6060
run: cargo sqlx migrate run --database-url $DOCSRS_DATABASE_URL
6161

62-
- name: Commit sqlx changes on master branch if any
62+
- name: Commit sqlx changes on main branch if any
6363
id: sqlx_check
6464
run: |
6565
just sqlx-prepare
66-
# If there are differences in the SQLX files, then we push them on the master branch
66+
# If there are differences in the SQLX files, then we push them on the main branch
6767
if git status --porcelain .sqlx ; then
6868
echo "need_pr=1" >> "$GITHUB_OUTPUT"
6969
else

.github/workflows/deploy-dev.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Deploy Dev
33
on:
44
push:
55
branches:
6-
- master
6+
- main
77

88
jobs:
99
docker:

.github/workflows/docker.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Docker
33
on:
44
push:
55
branches:
6-
- master
6+
- main
77
pull_request:
88
schedule:
99
- cron: "0 0 * * *"

.github/workflows/tag-merged-pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
on:
22
pull_request_target:
33
branches:
4-
- master
4+
- main
55
types: [closed]
66

77
permissions:

.github/workflows/tag-new-pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
on:
22
pull_request_target:
33
branches:
4-
- master
4+
- main
55
types: [opened, reopened, review_requested]
66

77
permissions:

0 commit comments

Comments
 (0)