Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/DefinitelyADev/gitea-comment
A Drone plugin to post comments on a Gitea Pull Request
https://github.com/DefinitelyADev/gitea-comment
docker drone-ci gitea gitea-drone
Last synced: about 2 months ago
JSON representation
A Drone plugin to post comments on a Gitea Pull Request
- Host: GitHub
- URL: https://github.com/DefinitelyADev/gitea-comment
- Owner: DefinitelyADev
- License: gpl-3.0
- Created: 2020-09-07T15:06:08.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-11-15T07:34:12.000Z (about 1 year ago)
- Last Synced: 2024-08-15T21:10:26.506Z (4 months ago)
- Topics: docker, drone-ci, gitea, gitea-drone
- Language: C#
- Homepage:
- Size: 22.5 KB
- Stars: 36
- Watchers: 2
- Forks: 2
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
- awesome-gitea - gitea-comment-plugin - A Drone plugin to post comments on a Gitea Pull Request. (Plugins / For internal use)
README
# Gitea Comment
A Drone plugin to post comments on a Gitea Pull Request
Docker Hub: https://hub.docker.com/r/tsakidev/giteacomment
Example reference for pull request with static string:
```yml
steps:
- name: post-to-gitea-pr
image: tsakidev/giteacomment:latest
settings:
gitea_token:
from_secret: gitea_token
gitea_base_url: http://gitea.example.com
comment: "Hello from Drone"
when:
status: [ failure ]
event: pull_request
```Example reference for pull request with input from file:
```yml
steps:
- name: post-to-gitea-pr
image: tsakidev/giteacomment:latest
settings:
gitea_token:
from_secret: gitea_token
gitea_base_url: http://gitea.example.com
comment_title: "My Title"
comment_from_file: "/path/to/file.txt"
when:
status: [ failure ]
event: pull_request
```