Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

webhook 标签事件能否选择指定分支。 #672

Open
miwei230 opened this issue Apr 18, 2024 · 2 comments
Open

webhook 标签事件能否选择指定分支。 #672

miwei230 opened this issue Apr 18, 2024 · 2 comments

Comments

@miwei230
Copy link

现在的webhook标签事件,任意分支都能推送。能否给个可选项,限定只能某一个分支吃标签事件有效。

使用场景:
一个项目一般会有很多开发者,一般主分支的拥有者限定为一个,然后在主分支上打标签,推送到生产环境。
其他的开发者都没有这个权限的

@vapao
Copy link
Contributor

vapao commented Apr 19, 2024

生成 webhook 的地方可以选择分支,只有对于分支的事件会触发发布

@miwei230
Copy link
Author

只能选择一个,不能够同时选择。
image
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants