Skip to content

dev: prepare CI for v2 #5423

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

Merged
merged 1 commit into from
Feb 17, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ on:
push:
branches:
- master
- main
# TODO(ldez): remove master and uncomment the next line when v2 will be released.
# - main

jobs:

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/post-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
- name: Create Pull Request
uses: peter-evans/create-pull-request@v7
with:
base: master
base: main
token: ${{ secrets.GOLANGCI_LINT_TOKEN }}
branch-suffix: timestamp
title: "docs: update GitHub Action assets"
Expand Down Expand Up @@ -58,7 +58,7 @@ jobs:
- name: Create Pull Request
uses: peter-evans/create-pull-request@v7
with:
base: master
base: main
token: ${{ secrets.GOLANGCI_LINT_TOKEN }}
branch-suffix: timestamp
title: "docs: update documentation assets"
Expand Down
2 changes: 1 addition & 1 deletion docs/gatsby-node.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ exports.createPages = ({ graphql, actions: { createPage }, reporter }) => {

const githubEditUrl =
githubUrl &&
`${githubUrl}/tree/master/${baseDir}/${docsPath}/${relativePath}`;
`${githubUrl}/tree/main/${baseDir}/${docsPath}/${relativePath}`;

const currentPageIndex = listOfItems.findIndex(
(page) => page.link === slug
Expand Down
2 changes: 1 addition & 1 deletion docs/src/docs/contributing/website.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ It runs script `scripts/website/expand_templates/` that rewrites `mdx` files wit

We use GitHub Pages as static website hosting and CD.

GitHub deploys the website to production after merging anything to a `master` branch.
GitHub deploys the website to production after merging anything to a `main` branch.

## Local Testing

Expand Down
2 changes: 1 addition & 1 deletion docs/src/docs/contributing/workflow.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ Add your new or updated parameters to `.golangci.next.reference.yml` so they wil
## Submit a pull request

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

## Pull request checks

Expand Down
Loading