1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-22 18:28:37 +00:00

Fix PushEvent NullPointerException jenkinsci/github-plugin (#27203)

Fixes #27202
This commit is contained in:
Nabapadma-sarker
2023-09-25 04:02:47 +09:00
committed by GitHub
parent 63b25e816d
commit 8e23524b18
3 changed files with 6 additions and 0 deletions

View File

@@ -181,6 +181,7 @@ func innerToRepo(ctx context.Context, repo *repo_model.Repository, permissionInR
Parent: parent,
Mirror: repo.IsMirror,
HTMLURL: repo.HTMLURL(),
URL: repoAPIURL,
SSHURL: cloneLink.SSH,
CloneURL: cloneLink.HTTPS,
OriginalURL: repo.SanitizedOriginalURL(),