Skip to content

Addition of replace mode to replace existing comments.#11

Open
cateiru wants to merge 8 commits intohasura:mainfrom
cateiru:feature/replace
Open

Addition of replace mode to replace existing comments.#11
cateiru wants to merge 8 commits intohasura:mainfrom
cateiru:feature/replace

Conversation

@cateiru
Copy link

@cateiru cateiru commented Jun 14, 2024

Hello,

I added a new mode called replace. It is similar to the append functionality, but it replaces the content instead of appending.

I am using this Workflow to create Actions to post comments on PRs, and I believe that a replace function would expand its use.

I would be very grateful if you would consider this.

cateiru added 8 commits June 14, 2024 15:00
The code changes modify the comment mode logic in the `index.js` file. Instead of using arrays to represent the comment modes, the code now uses objects with `name` and `flag` properties. This change improves readability and maintainability.

Based on the recent user commits and repository commits, it seems that the support for the `replace` mode was added. The commit messages indicate the addition of support for the `replace` mode in the comment logic.
@cateiru cateiru marked this pull request as ready for review June 14, 2024 06:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants