rajbos / rajbos/github-actions-requests

Prevent duplicate comments on issues to be inserted

Open
#29 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
13
Forks
14
PR merge metrics
No merged PRs in 30d

Description

We currently insert comments, even if they have already been added. This might be confusing for the user.

How can we improve this? Some idea's:

  1. Delete existing comments for clarity. We can probably use different emoticons for each message, and thus remove the old comments before we inject a new one.
  2. Don't add a new comment when there is already an existing one. Update the existing one?

Input welcome!

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the workflow or JavaScript entry point that inserts issue comments and inspect how repeated runs identify existing comments. Resolve whether the intended behavior is deletion, skipping, or updating, then define how each message is recognized. Done means rerunning the action does not create duplicate comments and the chosen behavior is covered by an appropriate test or reproducible check.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions, javascript
Domain
ci-cd
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.