An open API service indexing awesome lists of open source software.

https://github.com/netail/pr-comments

Brew - PR Comments
https://github.com/netail/pr-comments

Last synced: 12 months ago
JSON representation

Brew - PR Comments

Awesome Lists containing this project

README

          

# GitHub PR Comments

Create/update GitHub PR comments through an executable (for e.g. in ci/cd scripts)

## Usage

|Option|Description|Required|
|-|-|-|
|`-token=`|GitHub token|true|
|`-pr=`|Pull request number|true|
|`-owner=`|GitHub repository owner|true|
|`-repo=`|GitHub repository name|true|
|`-body=`|The contents of the comment|true|
|`-commentId=`|Update a certain comment by its ID||
|`-bodyIncludes=`|Update a certain comment by its content||

> [!NOTE]
> If no `commentId` or `bodyIncludes` is provided, it will always create a new comment, else it only creates a new comment when not found.