Skip to content
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

ci: replace master with main #1694

Merged
merged 2 commits into from
Dec 5, 2023
Merged

ci: replace master with main #1694

merged 2 commits into from
Dec 5, 2023

Conversation

k-yang
Copy link
Member

@k-yang k-yang commented Dec 5, 2023

Description

Substitute references from master branch to main branch.

Purpose

image

Summary by CodeRabbit

  • Chores

    • Updated GitHub Actions workflows to reference the new default branch name "main" instead of "master."
  • Documentation

    • Updated all workflow files to reflect the industry-wide shift in naming conventions for the default branch.

@k-yang k-yang marked this pull request as ready for review December 5, 2023 02:23
Copy link
Contributor

coderabbitai bot commented Dec 5, 2023

Walkthrough

The changes across various GitHub Actions workflow files reflect a shift from using 'master' to 'main' as the default branch name. This update affects triggers for workflows and conditions for canceling in-progress jobs, ensuring that the workflows are aligned with the new naming convention.

Changes

File Path Change Summary
.github/workflows/docker-publish.yml
.github/workflows/golangci-lint.yml
.github/workflows/pr-title-lint.yml
Updated default branch from "master" to "main".
.github/workflows/e2e-wasm.yml
.github/workflows/integration-tests.yml
.github/workflows/proto-lint.yml
.github/workflows/unit-tests.yml
Changed cancel-in-progress condition to check for 'refs/heads/main' instead of 'refs/heads/master'.

🐇✨
In the land of code and git,
'main' is now the name that's fit.
Goodbye 'master', old and plain,
Hello 'main', we've made the switch, hooray! 🎉
✨🐇


Tips

Chat with CodeRabbit Bot (@coderabbitai)

  • If you reply to a review comment from CodeRabbit, the bot will automatically respond.
  • To engage with CodeRabbit bot directly around the specific lines of code in the PR, mention @coderabbitai in your review comment
  • Note: Review comments are made on code diffs or files, not on the PR overview.
  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.

CodeRabbit Commands (invoked as PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger a review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai help to get help.

Note: For conversation with the bot, please use the review comments on code diffs or files.

CodeRabbit Configration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • The JSON schema for the configuration file is available here.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/coderabbit-overrides.v2.json

@k-yang k-yang requested a review from a team as a code owner December 5, 2023 02:23
@k-yang k-yang changed the title ci: s/master/main/g ci: replace master with main` Dec 5, 2023
@k-yang k-yang changed the title ci: replace master with main` ci: replace master with main Dec 5, 2023
@Unique-Divine
Copy link
Member

Unique-Divine commented Dec 5, 2023

Note that some of the parts that say main still need to be master if they refer to a branch of an imported workflow

@Unique-Divine Unique-Divine merged commit cf8bea5 into main Dec 5, 2023
9 checks passed
@Unique-Divine Unique-Divine deleted the fix/ci/master-workflows branch December 5, 2023 06:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants