We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1210f67 commit d5b2378Copy full SHA for d5b2378
Sources/repos/Client.swift
@@ -5436,7 +5436,7 @@ public struct Client: APIProtocol {
5436
/// To rename the default branch:
5437
///
5438
/// * Users must have admin or owner permissions.
5439
- /// * GitHub Apps must have the `administration:write` repository permission.
+ /// * GitHub Apps must have the `contents:write` and `administration:write` repository permissions.
5440
5441
/// - Remark: HTTP `POST /repos/{owner}/{repo}/branches/{branch}/rename`.
5442
/// - Remark: Generated from `#/paths//repos/{owner}/{repo}/branches/{branch}/rename/post(repos/rename-branch)`.
0 commit comments