Drone plugin to send message as comments to Gitea pull requests
1.6K
Drone plugin to send message as comments to Gitea pull requests.
The plugin support sending text as well as some file's content.
By setting the delete_identifier, all older comments with the same identifier will be
deleted before sending the message.
steps:
- name: send text to pr
image: jozott/drone-gitea-message:v0.2.0
settings:
api_key:
from_secret: gitea_token
base_url: http://gitea.example.com
message_text: "Hello world"
steps:
- name: send file content to pr
image: jozott/drone-gitea-message:v0.2.0
settings:
api_key:
from_secret: gitea_token
base_url: http://gitea.example.com
message_file: path/to/hello_world.md
delete_identifierIf the delete_identifier is set, the plugin will delete all existing PR comments
that contain the delete identifier. This is handy if sending status updates that make
older status updates obsolete.
steps:
- name: send test report to pr
image: jozott/drone-gitea-message:v0.2.0
settings:
api_key:
from_secret: gitea_token
base_url: http://gitea.example.com
message_file: build/test/report.md
delete_identifier: test-report-delete-id
Content type
Image
Digest
sha256:c1b117535…
Size
6.1 MB
Last updated
over 2 years ago
docker pull jozott/drone-gitea-message