How to use a GitHub saved reply
Apply one uniquely titled GitHub saved reply: GraphQL-read its body, write a file, post with gh issue comment --body-file, then prove the stored text.
Flowchart
flowchart LR
Comment["Issue / PR Comment Box"] --> Trigger["Click Saved Replies icon or press Ctrl+."]
Trigger --> Menu["Select Saved Reply from Dropdown"]
Menu --> Populate["Markdown Body Automatically Populated"]Use a saved reply
When commenting on an issue or pull request, insert a reply you already saved. It can be the whole comment, or you can edit after inserting. Steps from Using saved replies:
- On GitHub, navigate to the main page of the repository.
- Under the repository name, click Issues or Pull requests.
- Open the issue or pull request you want.
- Above the comment field, select the saved-reply control (The mail reply).
- From the list, select the saved reply to insert. Optionally edit the content afterward.
- Select Comment to post.
Tips from the docs
- You can use a keyboard shortcut to autofill the comment with a saved reply. See Keyboard shortcuts.
- Filter the list by typing the title of the saved reply.