mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-26 20:01:02 +00:00
Do not exclude repo owner from gated rule (#641)
This commit is contained in:
parent
30c3e139d7
commit
a2429eb570
1 changed files with 1 additions and 1 deletions
|
@ -213,7 +213,7 @@ func PostHook(c *gin.Context) {
|
|||
build.Status = model.StatusPending
|
||||
|
||||
// TODO(336) extend gated feature with an allow/block List
|
||||
if repo.IsGated && build.Sender != repoUser.Login {
|
||||
if repo.IsGated {
|
||||
build.Status = model.StatusBlocked
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue