mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2026-04-15 01:41:56 +00:00
Merge pull request #2274 from appleboy/bugs
fix(drone-server): missing default branch name in metadata.
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user