summaryrefslogtreecommitdiffstats
path: root/vendor/code.gitea.io/sdk
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/code.gitea.io/sdk')
-rw-r--r--vendor/code.gitea.io/sdk/gitea/pull.go3
-rw-r--r--vendor/code.gitea.io/sdk/gitea/release.go2
2 files changed, 4 insertions, 1 deletions
diff --git a/vendor/code.gitea.io/sdk/gitea/pull.go b/vendor/code.gitea.io/sdk/gitea/pull.go
index fcccf07e2b..a50db96e3e 100644
--- a/vendor/code.gitea.io/sdk/gitea/pull.go
+++ b/vendor/code.gitea.io/sdk/gitea/pull.go
@@ -38,6 +38,9 @@ type PullRequest struct {
Base *PRBranchInfo `json:"base"`
Head *PRBranchInfo `json:"head"`
MergeBase string `json:"merge_base"`
+
+ Created *time.Time `json:"created_at"`
+ Updated *time.Time `json:"updated_at"`
}
// PRBranchInfo base branch info when send a PR
diff --git a/vendor/code.gitea.io/sdk/gitea/release.go b/vendor/code.gitea.io/sdk/gitea/release.go
index de5ccba342..cc841466d8 100644
--- a/vendor/code.gitea.io/sdk/gitea/release.go
+++ b/vendor/code.gitea.io/sdk/gitea/release.go
@@ -14,7 +14,7 @@ import (
// Release represents a repository release
type Release struct {
ID int64 `json:"id"`
- TagName string `json:"name"`
+ TagName string `json:"tag_name"`
Target string `json:"target_commitish"`
Title string `json:"name"`
Note string `json:"body"`