probot

编程之家收集整理的这个编程导航主要介绍了probot编程之家,现在分享给大家,也给大家做个参考。

probot

probot 介绍

probot: 一个可训练的能自动回应 Github 活动的机器人。

Probot是建立一个框架,GitHub的应用程序中的Node.js。GitHub Apps可以收听存储库或组织发送的webhook事件。Probot使用其内部事件发射器根据这些事件执行操作。一个简单的Probot应用程序可能如下所示:

module.exports = (app) => {

app.on('issues.opened',async context => {

const issueComment = context.issue({ body: 'Thanks for opening this issue!' })

return context.github.issues.createComment(issueComment)

})

}

网站地址:https://probot.github.io

GitHub:https://github.com/probot/probot

网站描述:一个可训练的能自动回应 Github 活动的机器人

probot官方网站

官方网站:https://probot.github.io

如果觉得编程之家网站内容还不错,欢迎将编程之家网站推荐给程序员好友。

相关文章

photopea,在线Photoshop图片编辑工具
pinyin,转换中文字符为拼音的工具
lets-chat,基于slack的企业内部web聊天工具
SpeedCurve,追踪网页的性能表现
FirefoxSend,简单、私密的文件分享服务
gtmetrix,网站访问速度测试工具