feat: .devops/PR通知.yml

This commit is contained in:
xxq250 2023-03-16 10:15:39 +08:00 committed by jianmu
parent 3d081d36ab
commit 439e50804a
1 changed files with 27 additions and 0 deletions

27
.devops/PR通知.yml Normal file
View File

@ -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