chore: workflow 仅当提交信息含 chore+版本+更新 时触发
Node.js Build / build (push) Successful in 9s

This commit is contained in:
2026-07-16 14:12:23 +08:00
parent 4ee2bc52b1
commit f27b9690df
+1 -2
View File
@@ -3,11 +3,10 @@ name: Node.js Build
on:
push:
branches: ["main", "master"]
pull_request:
branches: ["main", "master"]
jobs:
build:
if: contains(github.event.head_commit.message, 'chore') && contains(github.event.head_commit.message, '版本') && contains(github.event.head_commit.message, '更新')
runs-on: docker # 匹配你 runner 的标签
steps:
- name: Checkout code