rajbos / rajbos/github-actions-requests
Prevent duplicate comments on issues to be inserted
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:
- 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.
- Don't add a new comment when there is already an existing one. Update the existing one?
Input welcome!
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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