mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-12-23 00:46:30 +00:00
Merge pull request #2274 from appleboy/bugs
fix(drone-server): missing default branch name in metadata.
This commit is contained in:
commit
1db7bde877
1 changed files with 1 additions and 0 deletions
|
@ -358,6 +358,7 @@ func metadataFromStruct(repo *model.Repo, build, last *model.Build, proc *model.
|
|||
Link: repo.Link,
|
||||
Remote: repo.Clone,
|
||||
Private: repo.IsPrivate,
|
||||
Branch: repo.Branch,
|
||||
},
|
||||
Curr: frontend.Build{
|
||||
Number: build.Number,
|
||||
|
|
Loading…
Reference in a new issue