forked from xxq250/java_ci_example
feat: .devops/PR通知.yml
This commit is contained in:
parent
3d081d36ab
commit
439e50804a
|
|
@ -0,0 +1,27 @@
|
|||
version: 2
|
||||
name: PR通知
|
||||
description: 新的PR提交会有钉钉通知
|
||||
global:
|
||||
concurrent: false
|
||||
trigger:
|
||||
webhook: gitlink@1.0.0
|
||||
event:
|
||||
- ref: pr
|
||||
ruleset-operator: AND
|
||||
workflow:
|
||||
- ref: start
|
||||
name: 开始
|
||||
task: start
|
||||
- ref: shell_0
|
||||
name: shell
|
||||
image: ubuntu:22.10
|
||||
script:
|
||||
- echo "hello word"
|
||||
needs:
|
||||
- start
|
||||
- ref: end
|
||||
name: 结束
|
||||
task: end
|
||||
needs:
|
||||
- shell_0
|
||||
|
||||
Loading…
Reference in New Issue