Point README links at main - #123
Merged
Merged
Conversation
The default branch is now main. GitHub redirects the old /tree/master and /blob/master URLs, but the links should not rely on that.
Contributor
There was a problem hiding this comment.
Pull request overview
Updates README links to target the renamed default branch (main) directly instead of relying on GitHub redirects from master.
Changes:
- Update the repository link label and URL from
tree/mastertotree/main. - Update the Code of Conduct link from
blob/master/...toblob/main/....
Suggested commit message (conventional): docs: point README links at main
Suppressed comments (1)
README.md:8
- Typo in README link list: "Lastest release" should be "Latest release".
* Lastest release: https://github.com/onelogin/onelogin-ruby-sdk/releases/latest
* Main repo: https://github.com/onelogin/onelogin-ruby-sdk/tree/main
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Follow-up to renaming the default branch
master->main.Updates the only two
masterreferences in the repo:tree/master->tree/main(and relabelled "Master repo" -> "Main repo")blob/master/CODE_OF_CONDUCT.md->blob/main/...GitHub redirects the old URLs indefinitely, so nothing was broken — but the links shouldn't depend on a redirect.
Nothing else referenced master
Checked before the rename:
on: [push, pull_request]with no branch filters, so CI was unaffectedonelogin.gemspechas no branch-specific URLs