mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-01-10 17:45:36 +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,
|
Link: repo.Link,
|
||||||
Remote: repo.Clone,
|
Remote: repo.Clone,
|
||||||
Private: repo.IsPrivate,
|
Private: repo.IsPrivate,
|
||||||
|
Branch: repo.Branch,
|
||||||
},
|
},
|
||||||
Curr: frontend.Build{
|
Curr: frontend.Build{
|
||||||
Number: build.Number,
|
Number: build.Number,
|
||||||
|
|
Loading…
Reference in a new issue