-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
FR: Create pull request comment via API #5060
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
On a more general note - surely it would be better practice to "eat your own dog food" and make the gitea UI only use publicly available api calls ? That way any shortcomings in the api would be exposed very quickly. There are several instances where the api does not have the same functionality as the UI - yet the UI has to be calling some rest endpoint |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs during the next 2 weeks. Thank you for your contributions. |
@mc388 You can use issue comment api for that: https://try.gitea.io/api/swagger#/issue/issueCreateComment I've just checked that and it works fine. |
@jereksel I think he means comment on code lines on pull request review. |
Thats right @lunny |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs during the next 2 weeks. Thank you for your contributions. |
@marvincaspar can we close this in faifour of #5733 |
Description
In our CI/CD pipeline we use a static code analysis and I want to create a job, which creates comments on a pull request file if there is a code smell.
I didn't find any API call for this action.
The text was updated successfully, but these errors were encountered: