分支(启动)
如果没有给出 映射,此节点会将 branch
作为 默认前缀。
类型
秘钥
如果给出了映射,则支持以下键
branch
— 包含或排除分支,不编译(类型:映射、字符串序列或字符串) 详细信息condition
— (类型:字符串序列或字符串)all_branches
— (类型:布尔值)pr
— (类型:布尔值)
示例
on:
branch:
only:
- master
except:
- develop
condition:
- string
all_branches: true
on:
only:
- master
except:
- develop
on:
- master
on: master