Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

hubot-gitlab-bot

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hubot-gitlab-bot

A hubot script that communicates with Gitlab API

  • 0.0.18-b7
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

hubot-gitlab-bot

npm (scoped)

与 gitlab 交互的 hubot 脚本

文档详见 src/gitlab-connector.coffee

特性

  • 列出所有项目
  • 通过名称查询项目
  • 列出指定项目下的所有分支
  • 触发指定项目的流水线及指定步骤
  • 显示或者合并请求
  • 显示 gitlab 版本号

安装

在 hubot 项目种安装,执行以下命令:

yarn install hubot-gitlab-bot --save

成功后添加 hubot-gitlab-botexternal-scripts.json 文件中:

[
  "hubot-gitlab-bot"
]

配置两个环境变量

HUBOT_GITLAB_URL: gitlab 服务器 url
HUBOT_GITLAB_TOKEN: gitlab 个人访问令牌

如何获取个人访问令牌详见 https://docs.gitlab.com/ce/user/profile/personal_access_tokens.html

样例

user1>> hubot gitlab version
hubot>> @user1 gitlab version is 8.13.0-pre, revision 4e963fe

查看锁支持特性,执行以下命令:

hubot gitlab help

贡献

目前脚本还不完善,欢迎大家提 issue 和 pr

:)

NPM 模块

https://www.npmjs.com/package/hubot-gitlab-bot

鸣谢

感谢 https://github.com/oltruong/hubot-gitlab-connector

Keywords

FAQs

Package last updated on 02 Mar 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc