I GitLab对分支的每次更改都会触发管道运行。事实上,我不希望每个分支都发生这种情况,只希望我的主要分支发生这种情况。
但我仍然希望能够手动触发其他分支的管道。所以使用
only
- master
并不是游戏的全部。
只需使用
only
- master
- web // if you want to trigger from the web interface
- triggers // if you want to trigger by invoking by using a trigger token