Drone plugins > Gitee Pulls
gitee.svg

Gitee Pulls

by kit101


This plugin can automatically update the comments / labels / test in PR to gitee.

Example

name: default
kind: pipeline

steps:
- name: pr-enhance/start
  image: kit101z/drone-plugin-gitee-pulls
  settings:
    is_running: true
    access_token:
      from_secret: GITEE_ACCESS_TOKEN

Properties

  • debug

    booleanoptional

    enable debug mode

    Default: false

  • api_server

    stringoptional

    the gitee api server url

    Default: https://gitee.com/api/v5

  • access_token

    stringrequired

    gitee access token, you can generate personal access token

    Secret recommended

    Default: none

  • is_running

    booleanoptional

    is the build running

    Default: false

  • comment_disabled

    booleanoptional

    disable automatic updating of the comment with build status

    Default: false

  • label_disabled

    booleanoptional

    disable automatic updating of the label with build status

    Default: false

  • test_disabled

    booleanoptional

    disable automatic updating of the test status

    Default: false

  • running_label

    stringoptional

    set the name and color of the running label

    Default: drone-build/running,E6A23C

  • success_label

    stringoptional

    set the name and color of the success label

    Default: drone-build/success,67C23A

  • failure_label

    stringoptional

    set the name and color of the failure label

    Default: drone-build/failure,DB2828