How to update a issue or PR comment in Github using curl and a GraphQL updateIssueComment mutation
问题 I want to update a comment in a Github PR or issue and I found it hard to find a working example. That's why I ask this question, to answer it myself. Hopefully someone else can use this. 回答1: The following snippet will update an issue or PR comment using a GraphQL mutation and curl. Make sure you replace <REPLACE WITH YOUR GITHUB PERSONAL ACCESS TOKEN> with an access token that has repo scope on the repo in which the PR/issue appears. Then replace the REPLACE WITH COMMENT NODE ID with the