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

Replace master with main where possible #1739

Merged
merged 2 commits into from Nov 21, 2022

Conversation

michael-k
Copy link
Contributor

@michael-k michael-k commented Nov 21, 2022

I've noticed that the default branch has been renamed from master to main. This PR

  • cleans up all places that reference/refer to pip-tool's default branch,
  • uses the branch main of other repos where possible (eg. actions/checkout), and
  • let the tests use main instead of master for mocked repositories.

This does fix the linkcheck-docs GitHub Actions job.

The codecov badge doesn't work yet: I don't know what's necessary to fix that.

The word “master” remains in 3 places:

Contributor checklist
  • Provided the tests for the changes.
  • Assure PR title is short, clear, and good to be included in the user-oriented changelog
Maintainer checklist
  • Assure one of these labels is present: backwards incompatible, feature, enhancement, deprecation, bug, dependency, docs or skip-changelog as they determine changelog listing.
  • Assign the PR to an existing or new milestone for the target version (following Semantic Versioning).

README.rst Outdated Show resolved Hide resolved
@ssbarnea ssbarnea added the skip-changelog Avoid listing in changelog label Nov 21, 2022
@ssbarnea ssbarnea enabled auto-merge (squash) November 21, 2022 13:36
@ssbarnea ssbarnea merged commit 1ce43d5 into jazzband:main Nov 21, 2022
@michael-k michael-k deleted the master-to-main branch November 21, 2022 14:39
@atugushev
Copy link
Member

atugushev commented Nov 21, 2022

We should update this to release/v1:

uses: pypa/gh-action-pypi-publish@master

See https://github.com/pypa/gh-action-pypi-publish#-master-branch-sunset-

@ssbarnea
Copy link
Member

@atugushev Yeah, I am fully aware of that isolated case...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
skip-changelog Avoid listing in changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants