mirror of
https://github.com/servo/servo.git
synced 2025-07-21 22:33:41 +01:00
Rename the master
branch to main
This commit is contained in:
parent
7bcb25c85c
commit
23add0c1e5
14 changed files with 47 additions and 51 deletions
|
@ -74,7 +74,7 @@ class GithubRepository:
|
|||
self, branch: GithubBranch
|
||||
) -> Optional[PullRequest]:
|
||||
"""If this repository has an open pull request with the
|
||||
given source head reference targeting the master branch,
|
||||
given source head reference targeting the main branch,
|
||||
return the first matching pull request, otherwise return None."""
|
||||
|
||||
params = "+".join([
|
||||
|
@ -105,7 +105,7 @@ class GithubRepository:
|
|||
data = {
|
||||
"title": title,
|
||||
"head": branch.get_pr_head_reference_for_repo(self),
|
||||
"base": "master",
|
||||
"base": "main",
|
||||
"body": body,
|
||||
"maintainer_can_modify": False,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue