Drone 插件市场 > Github Comment

使用此插件可更新 Github Pull Request 上的构建状态。当整个团队不想为每条构建信息打开 drone 面板时,这个插件就非常有用。

YAML 配置示例

kind: pipeline
name: default

steps:
- name: update-status-to-github
  image: codehimanshu/gitdrone:1.7
  settings:
    drone_access_token:
      from_secret: drone_access_token
    github_installation_id:
      from_secret: github_installation_id
    github_app_id: 38899
    private_key:
      from_secret: private_key

字段属性说明

  • drone_access_token

    string必填项

    Drone Server 授权令牌

    默认值:none

  • github_installation_id

    string必填项

    Drone Github 应用程序的安装 ID

    默认值:none

  • github_app_id

    string必填项

    你在 Github 上的 Drone 应用程序 ID

    默认值:38899

  • private_key

    string必填项

    从 Github 安装应用程序

    默认值:none