mirror of
https://github.com/openSUSE/osc.git
synced 2025-12-05 09:54:47 +01:00
Add 'git-obs staging' command for staging multiple package pull requests into a single project pull request
This commit is contained in:
@@ -422,7 +422,7 @@ class PullRequest(GiteaModel):
|
||||
"""
|
||||
json_data = {
|
||||
"title": title,
|
||||
"description": description,
|
||||
"body": description,
|
||||
"allow_maintainer_edit": allow_maintainer_edit,
|
||||
}
|
||||
url = conn.makeurl("repos", owner, repo, "pulls", str(number))
|
||||
@@ -738,7 +738,7 @@ class PullRequest(GiteaModel):
|
||||
repo: str,
|
||||
number: int,
|
||||
labels: List[str],
|
||||
) -> "GiteaHTTPResponse":
|
||||
) -> Optional["GiteaHTTPResponse"]:
|
||||
"""
|
||||
Add one or more labels to a pull request.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user