Drone plugins > Gitea Message
gitea.svg

Gitea Message

by Jozott


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.

Example

kind: pipeline
name: default

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

Properties

  • api_key

    stringrequired

    gitea server api token

    Secret recommended

    Default: none

  • base_url

    stringrequired

    the url of the gitea installation

    Default: none

  • message_text

    stringoptional

    the content of the message (must be set if message_file is not)

    Default: none

  • message_file

    stringoptional

    the file with content for the message (must be set if message_text is not)

    Default: none

  • delete_identifier

    stringoptional

    the identifier to delete previous messages in the pull request before sending new one

    Default: none