支持pr-action吗 (OD-1346)
Closed
Kerwin Bryant opened 1 year ago

类似github上提交pr后,自动运行一些action比如代码风格检测、单元测试等。检测不通过,则不通知审核,通过后才会通知审核员介入审核;

例如这个:image.png

或是这个: https://github.com/home-assistant/core/pull/13540

没看到OneDev有这方面的文档说明,是否考虑增加这样的特性?

Robin Shen commented 1 year ago

可以创建一个job,然后将trigger设置为 pull request open/update。这样可以运行任何想要的检查。

Robin Shen commented 1 year ago

8.1.2 及以前版本有个 bug 导致 pull request 创建后不能触发指定的任务。这个 bug 在 8.1.3 中解决了。

Robin Shen changed state to 'Closed' 1 year ago
Previous Value Current Value
Open
Closed
issue 1 of 1
Type
Question
Priority
Normal
Assignee
Issue Votes (0)
Watchers (4)
Reference
OD-1346
Please wait...
Page is in error, reload to recover