Skip to content
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

How to comment to a PR from drone? #12733

Closed
2 of 7 tasks
DefinitelyADev opened this issue Sep 5, 2020 · 6 comments
Closed
2 of 7 tasks

How to comment to a PR from drone? #12733

DefinitelyADev opened this issue Sep 5, 2020 · 6 comments

Comments

@DefinitelyADev
Copy link
Contributor

DefinitelyADev commented Sep 5, 2020

  • Gitea version (or commit ref): 1.12.4
  • Git version: 2.18.4
  • Operating system: Centos
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
    • 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

@DefinitelyADev DefinitelyADev changed the title How to comment to a PR from drone How to comment to a PR from drone? Sep 5, 2020
@6543
Copy link
Member

6543 commented Sep 6, 2020

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

@DefinitelyADev
Copy link
Contributor Author

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

@6543
Copy link
Member

6543 commented Sep 6, 2020

@6543
Copy link
Member

6543 commented Sep 6, 2020

it works for both issues & pulls

@6543
Copy link
Member

6543 commented Sep 6, 2020

because pulls are extended issues in gitea ...

@DefinitelyADev
Copy link
Contributor Author

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

@go-gitea go-gitea locked and limited conversation to collaborators Nov 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Development

No branches or pull requests

2 participants