Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

GitHub 自动处理 issue、PR、releases 机器人

License

NotificationsYou must be signed in to change notification settings

xuexb/github-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

list

  • 不规范 issue 自动关闭
  • 当 issue 标记 label 为 need demo 时,自动回复,需要相关demo
  • issue 自动 assign 给指定人员,需要配置package.jsonconfig.github-bot.lableToAuthor 映射
  • 当往远程第一次推送新版本号时,自动列出最新版本距离上一版本的 commit log 并发布 release notes ,会把项目 clone 到./github/{项目名}/ 去分析 commit log
  • 发 PR 时根据打的 label 自动添加指定的 reviewer ,需要配置package.jsonconfig.github-bot.lableToAuthor 映射
  • 发 PR 时标题不规范时提醒修改,需要配置package.jsonconfig.validate-commit-msg.type 前缀,标题必须以前缀: 开头
  • 发 PR 时自动根据标题的PR 标题规则 前缀生成对应的 label ,feat->enhancement, fix->bug

issue 规则

node version: 版本号url: http://www.example.com

labels 规则

  • invalid - 未定义, 内容 不规范
  • need demo - 需要提供预览链接
  • need update - 需要更新修复问题
  • bug - bug
  • duplicate - 重复
  • enhancement - 新功能
  • question - 提问
  • wontfix - 不修复的问题

commit log 和 PR 标题规则

参考:http://www.ruanyifeng.com/blog/2016/01/commit_message_change_log.html

  • feat - 新功能(feature)
  • fix - 修补bug
  • docs - 文档(documentation)
  • style - 格式(不影响代码运行的变动)
  • test - 增加测试
  • chore - 构建过程或辅助工具的变动
  • revert - 撤销
  • close - 关闭 issue

如:

close: #1, #3feat: 添加xx功能docs: update install info

contributors

About

GitHub 自动处理 issue、PR、releases 机器人

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Packages

No packages published

Contributors5


[8]ページ先頭

©2009-2025 Movatter.jp