codecommit_merge_pull_request_by_fast_forward: Attempts to merge the source commit of a pull request into...

View source: R/codecommit_operations.R

codecommit_merge_pull_request_by_fast_forwardR Documentation

Attempts to merge the source commit of a pull request into the specified destination branch for that pull request at the specified commit using the fast-forward merge strategy

Description

Attempts to merge the source commit of a pull request into the specified destination branch for that pull request at the specified commit using the fast-forward merge strategy. If the merge is successful, it closes the pull request.

See https://www.paws-r-sdk.com/docs/codecommit_merge_pull_request_by_fast_forward/ for full documentation.

Usage

codecommit_merge_pull_request_by_fast_forward(
  pullRequestId,
  repositoryName,
  sourceCommitId = NULL
)

Arguments

pullRequestId

[required] The system-generated ID of the pull request. To get this ID, use list_pull_requests.

repositoryName

[required] The name of the repository where the pull request was created.

sourceCommitId

The full commit ID of the original or updated commit in the pull request source branch. Pass this value if you want an exception thrown if the current commit ID of the tip of the source branch does not match this commit ID.


paws.developer.tools documentation built on Sept. 12, 2024, 6:46 a.m.