Gitea: How to comment to a PR from drone?

Created on 5 Sep 2020  Â·  6Comments  Â·  Source: go-gitea/gitea

  • Gitea version (or commit ref): 1.12.4
  • Git version: 2.18.4
  • Operating system: Centos
  • Database (use [x]):

    • [x] PostgreSQL

    • [ ] MySQL

    • [ ] MSSQL

    • [ ] SQLite

  • Can you reproduce the bug at https://try.gitea.io:

    • [ ] Yes (provide example URL)

    • [ ] No

    • [x] Not relevant

  • Log gist:

Description

Hello, I’m using Gitea as my version control system and Drone as CI for .Net Core projects. Is there an equivalent plugin like the Github Comment for interacting with Gitea or another way to create a comment to the original PR?

Also after a quick look on swagger I did not find an endpoint for ​POST /repos​/{owner}​/{repo}​/pulls​/{index}​/comments

kinquestion

All 6 comments

this is a usefull idear for TEA ...

I dont know souch an plugin/image.
What I would do: use an image witch contain curl and use the API

@6543 That's what I thought about the api but there isn't an endpoint for POST ​/repos​/{owner}​/{repo}​/pulls​/{index}​/comments

it works for both issues & pulls

because pulls are extended issues in gitea ...

That's great thank you very much for the help and the clarification.
I will close this now.

Was this page helpful?
0 / 5 - 0 ratings