Skip to content

Commit 1271a3b

Browse files
committed
Merge branch 'master' into fix-go-gitea#6946-pass-in-pr-into-hooks
2 parents 56d7a2f + 96b412b commit 1271a3b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

models/helper_environment.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ func FullPushingEnvironment(author, committer *User, repo *Repository, prID int6
2525
authorSig := author.NewGitSig()
2626
committerSig := committer.NewGitSig()
2727

28+
// We should add "SSH_ORIGINAL_COMMAND=gitea-internal",
29+
// once we have hook and pushing infrastructure working correctly
2830
return append(os.Environ(),
2931
"GIT_AUTHOR_NAME="+authorSig.Name,
3032
"GIT_AUTHOR_EMAIL="+authorSig.Email,

0 commit comments

Comments
 (0)