我在我的公司和this collection上实现了git flow,但在github上有一个我无法在github操作工作流中使用的行为。
开始一个新版本时,git flow release start 1.0.0分支被创建为release/1.0.0。这只发生在我使用git flow启动了一个新的repo时,所有其他的repo都是在bitbucket上创建的,然后导入到github中。
其他导入的版本带有分支名称release,并且版本是标记。
工作流文件上的触发器为:
name: Release
on:
push:
branches: [ release ]
pull_request:
branches: [ release ] 但我已经试过了based on the docs
[ release/*.*.* ]
[ release/* ]
[ release/1.0.0 ]都不起作用,为了解决这个问题,我删除了奇怪的分支并创建了一个release分支。
发布于 2020-10-01 08:43:59
使用**怎么样?
on:
push:
branches:
- 'release/**'https://stackoverflow.com/questions/64144015
复制相似问题