Manage TAG and BRANCH events sent from gogs
This commit is contained in:
parent
82c534ad18
commit
c8d1fe0468
2 changed files with 1 additions and 1 deletions
|
@ -5,6 +5,7 @@ const (
|
|||
EventPull = "pull_request"
|
||||
EventTag = "tag"
|
||||
EventDeploy = "deployment"
|
||||
EventBranch = "branch"
|
||||
)
|
||||
|
||||
const (
|
||||
|
|
|
@ -171,7 +171,6 @@ func (c *client) File(u *model.User, r *model.Repo, b *model.Build, f string) ([
|
|||
buildRef = b.Ref
|
||||
}
|
||||
cfg, err := client.GetFile(r.Owner, r.Name, buildRef, f)
|
||||
|
||||
return cfg, err
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue