mirror of
https://github.com/gosticks/brew.git
synced 2026-08-13 21:20:23 +00:00
pr-pull: skip bottles for CI-syntax-only PRs
This commit is contained in:
@@ -779,4 +779,9 @@ module GitHub
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
def pull_request_labels(user, repo, pr)
|
||||
pr_data = open_api(url_to("repos", user, repo, "pulls", pr))
|
||||
pr_data["labels"].map { |label| label["name"] }
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user