Skip to content

Commit 48ab0d1

Browse files
authored
dev: prepare CI for v2 (#5423)
1 parent 2c1d661 commit 48ab0d1

File tree

5 files changed

+7
-6
lines changed

5 files changed

+7
-6
lines changed

.github/workflows/documentation.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ on:
44
push:
55
branches:
66
- master
7-
- main
7+
# TODO(ldez): remove master and uncomment the next line when v2 will be released.
8+
# - main
89

910
jobs:
1011

.github/workflows/post-release.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
- name: Create Pull Request
3030
uses: peter-evans/create-pull-request@v7
3131
with:
32-
base: master
32+
base: main
3333
token: ${{ secrets.GOLANGCI_LINT_TOKEN }}
3434
branch-suffix: timestamp
3535
title: "docs: update GitHub Action assets"
@@ -58,7 +58,7 @@ jobs:
5858
- name: Create Pull Request
5959
uses: peter-evans/create-pull-request@v7
6060
with:
61-
base: master
61+
base: main
6262
token: ${{ secrets.GOLANGCI_LINT_TOKEN }}
6363
branch-suffix: timestamp
6464
title: "docs: update documentation assets"

docs/gatsby-node.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ exports.createPages = ({ graphql, actions: { createPage }, reporter }) => {
102102

103103
const githubEditUrl =
104104
githubUrl &&
105-
`${githubUrl}/tree/master/${baseDir}/${docsPath}/${relativePath}`;
105+
`${githubUrl}/tree/main/${baseDir}/${docsPath}/${relativePath}`;
106106

107107
const currentPageIndex = listOfItems.findIndex(
108108
(page) => page.link === slug

docs/src/docs/contributing/website.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ It runs script `scripts/website/expand_templates/` that rewrites `mdx` files wit
3737

3838
We use GitHub Pages as static website hosting and CD.
3939

40-
GitHub deploys the website to production after merging anything to a `master` branch.
40+
GitHub deploys the website to production after merging anything to a `main` branch.
4141

4242
## Local Testing
4343

docs/src/docs/contributing/workflow.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ Add your new or updated parameters to `.golangci.next.reference.yml` so they wil
4141
## Submit a pull request
4242

4343
Push your branch to your `golangci-lint` fork and open a pull request against the
44-
`master` branch.
44+
`main` branch.
4545

4646
## Pull request checks
4747

0 commit comments

Comments
 (0)