Addition of replace mode to replace existing comments.#11
Open
cateiru wants to merge 8 commits intohasura:mainfrom
Open
Addition of replace mode to replace existing comments.#11cateiru wants to merge 8 commits intohasura:mainfrom
replace mode to replace existing comments.#11cateiru wants to merge 8 commits intohasura:mainfrom
Conversation
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.
arturbani
approved these changes
Jul 11, 2024
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hello,
I added a new mode called
replace. It is similar to theappendfunctionality, 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
replacefunction would expand its use.I would be very grateful if you would consider this.