Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

intuit/commently

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1,584 Commits
1,584 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

commently - Comment easily 😀💬

npm CircleCI CLI Package Known Vulnerabilities Core Package Known Vulnerabilities Renovate enabled

commently is a package for leaving comments on a GitHub PR from CI. However, what makes commently different is that it will update the same comment and keep a history over time. This allows less noise on PRs, and also a way for users to references prior automation.

An example of a use case for commently is preview releases. If your project does a preview build, you can use commently to publish a comment to GitHub with the preview version and instructions for your users on how they can test.

Installation

yarn add commently-cli --dev

Alternatively, you can run via npx

npx commently-cli

Usage

yarn commently

commently: Easily comment on PRs

    Required

    --message      String     :    The comment to update the PR with

    Optional:

    --pr           Number     :    The pull request/issue to comment on. Detected in CI env
    --owner        String     :    The owner for the project. Detected in CI env
    --repo         String     :    The repo for the project. Detected in CI env
    --title        String     :    The title of your comment. Defaults to "Commently"
    --key.         String     :    The unique key for your comment. Defaults to "commently"
    --useHistory   Boolean    :    Keep a history of the comments in the comment created by this library
    --help, -h     Boolean    :    Show the help dialog
    --verbose, -v  Boolean    :    Output the debug log

Development Setup

To get started developing commently run the following commands from the root directory.

yarn
yarn build:watch

Dev Usage

yarn build
GH_TOKEN=YOUR_TOKEN ./packages/cli/dist/cli.js -v --pr 510 --owner intuit --repo commently --message "Test this"

This will build both of the projects.

Clean

Remove all dependencies and build versions.

yarn clean

License

commently is provided under the MIT license.

About

😀💬 Easily comment and update comments on GitHub PRs

Topics

Resources

Contributing

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.