Drone plugins > Gitea Comment
gitea.svg

Gitea Comment

by DefinitelyADev


Use this plugin to update build status on Gitea Pull Request. This is useful when the complete team does not want to open drone dashboard for each build message.

Example

kind: pipeline
name: default

steps:
- name: post-to-gitea-pr-from-arg
  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

Properties

  • gitea_token

    stringrequired

    gitea server auth token

    Secret recommended

    Default: none

  • gitea_base_url

    stringrequired

    the url of the gitea installation

    Default: none

  • comment_title

    stringoptional

    the title of the comment

    Default: none

  • comment

    stringoptional

    the content of the comment (required if comment_from_file is not used)

    Default: none

  • comment_from_file

    stringoptional

    the file path to read from (required if comment is not used)

    Default: none