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

Integration with GitLab and GitHub

lxerxa edited this pageMay 4, 2020 ·10 revisions

配置webhook访问token

在ActionView侧,进入相应的项目,在 项目设置/外部用户里设置webhook访问token。

配置webhook

在GitLab或GitHub侧配置webhook。
GitLab url:http://xxxxx/actionview/api/webhook/gitlab/project/{project_key}
GitHub url:http://xxxxx/actionview/api/webhook/github/project/{project_key}

trigger请选择Push events。

配置完成后测试连接是否成功。

提交代码格式

为问题提交代码,message格式有两种:
xx-yy dddd
xx-yy-zz dddd
其中,xx: 项目健值,yy: 问题编号, zz: 动作ID(流程预览图可查看), dddd: 描述文字。

例如:
demo-320 description
demo-320-2001 description.

正常情况下,提交代码后在问题详细页面的“Git提交”页签可看到相应的提交纪录。

注意:如提交代码后还要执行某个动作的话,提交用户必须有执行此动作的权限(通过提交用户的email来匹配ActionView侧的账号来判断权限)。

Clone this wiki locally

[8]ページ先頭

©2009-2025 Movatter.jp