cloudposse / cloudposse/github-commenter

Don't add the comment if it already exists

Open
#15 1 comment 3 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
112
Forks
17
PR merge metrics
No merged PRs in 30d

Description

Rather than requiring regex to delete comments, it would be great if this would automatically check if the comment exists, and if so, do not add a further comment.

For example, when setting up a PR review environment, we don't want it to constantly post the URL to the PR. We only need it done once.

Contributor guide

Open the contributing guide

Research direction

Start by locating the command path that creates comments for pull requests, reviews, issues, or commits and trace its GitHub API calls. Check how existing comments can be identified, then verify that rerunning the command leaves an existing matching comment unchanged while still adding a missing one.

Written by the indexing model from the issue text.

Assessment

Tech stack
github, go
Domain
api, cli
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.