Skip to content

Switch primary branch to main #15042

Closed
@nzakas

Description

We've switched all of the other repos to use main as the primary branch, so it's time to move this repo as well. Now that GitHub has automatic branch renaming there are a lot fewer issues to deal with. As best I can tell, these are the steps we need to follow:

  • Update GitHub action workflow files to use "main" instead of "master" (maybe start with listing both to avoid breaking coverage?)
  • Update Makefile.js to replace instances of "master" with "main"
  • Update "Working with Rules" documentation to replace instances of "master" with "main"
  • Use GitHub branch rename feature to change "master" to "main"

There don't appear to be any other important instances of "master" in the codebase. I believe URLs referring to blobs in the repo will automatically redirect once changed through the GitHub feature.

Metadata

Assignees

No one assigned

    Labels

    acceptedThere is consensus among the team that this change meets the criteria for inclusionarchived due to ageThis issue has been archived; please open a new issue for any further discussioninfrastructureRelates to the tools used in the ESLint development process

    Type

    No type

    Projects

    • Status

      Complete

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions