Skip to content

Commit 2d605db

Browse files
Commit via running ake Sources/pulls
1 parent 796caa7 commit 2d605db

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

Sources/pulls/Client.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3094,6 +3094,7 @@ public struct Client: APIProtocol {
30943094
/// Update a pull request branch
30953095
///
30963096
/// Updates the pull request branch with the latest upstream changes by merging HEAD from the base branch into the pull request branch.
3097+
/// Note: If making a request on behalf of a GitHub App you must also have permissions to write the contents of the head repository.
30973098
///
30983099
/// - Remark: HTTP `PUT /repos/{owner}/{repo}/pulls/{pull_number}/update-branch`.
30993100
/// - Remark: Generated from `#/paths//repos/{owner}/{repo}/pulls/{pull_number}/update-branch/put(pulls/update-branch)`.

Sources/pulls/Types.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -394,6 +394,7 @@ public protocol APIProtocol: Sendable {
394394
/// Update a pull request branch
395395
///
396396
/// Updates the pull request branch with the latest upstream changes by merging HEAD from the base branch into the pull request branch.
397+
/// Note: If making a request on behalf of a GitHub App you must also have permissions to write the contents of the head repository.
397398
///
398399
/// - Remark: HTTP `PUT /repos/{owner}/{repo}/pulls/{pull_number}/update-branch`.
399400
/// - Remark: Generated from `#/paths//repos/{owner}/{repo}/pulls/{pull_number}/update-branch/put(pulls/update-branch)`.
@@ -1025,6 +1026,7 @@ extension APIProtocol {
10251026
/// Update a pull request branch
10261027
///
10271028
/// Updates the pull request branch with the latest upstream changes by merging HEAD from the base branch into the pull request branch.
1029+
/// Note: If making a request on behalf of a GitHub App you must also have permissions to write the contents of the head repository.
10281030
///
10291031
/// - Remark: HTTP `PUT /repos/{owner}/{repo}/pulls/{pull_number}/update-branch`.
10301032
/// - Remark: Generated from `#/paths//repos/{owner}/{repo}/pulls/{pull_number}/update-branch/put(pulls/update-branch)`.
@@ -13275,6 +13277,7 @@ public enum Operations {
1327513277
/// Update a pull request branch
1327613278
///
1327713279
/// Updates the pull request branch with the latest upstream changes by merging HEAD from the base branch into the pull request branch.
13280+
/// Note: If making a request on behalf of a GitHub App you must also have permissions to write the contents of the head repository.
1327813281
///
1327913282
/// - Remark: HTTP `PUT /repos/{owner}/{repo}/pulls/{pull_number}/update-branch`.
1328013283
/// - Remark: Generated from `#/paths//repos/{owner}/{repo}/pulls/{pull_number}/update-branch/put(pulls/update-branch)`.

0 commit comments

Comments
 (0)