From bd8a514ffbc1ee1ef76b889d6f91fa7d23d70cfa Mon Sep 17 00:00:00 2001 From: Endial Fang Date: Tue, 13 Jan 2026 11:16:06 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E6=B5=81=E6=B0=B4?= =?UTF-8?q?=E7=BA=BF=E9=85=8D=E7=BD=AE=E4=B8=AD=E8=A7=A6=E5=8F=91=E6=9D=A1?= =?UTF-8?q?=E4=BB=B6=E9=94=99=E8=AF=AF[SKIP=20CI]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .woodpecker.yml | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index 2e6b2c1..80e7697 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -7,10 +7,21 @@ # 6. 使用 Git Submodule 管理通用脚本时,需手动更新 Submodule when: + # 匹配 main - event: push - branch: [ "main", "master", "[0-9]*", "v[0-9]*" ] + branch: main + # 匹配 master + - event: push + branch: master + # 匹配数字开头的分支,如 1.0, 2, 3.2.1 + - event: push + branch: "[0-9]*" + # 匹配 v 开头的版本分支,如 v1, v2.0 + - event: push + branch: "v[0-9]*" + # 匹配 tag 事件 - event: tag - ref: [ "refs/tags/[0-9]*", "refs/tags/v[0-9]*" ] + ref: "refs/tags/(v?[0-9].*)" labels: runtime: docker