1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-27 04:38:36 +00:00

Update modules/notification/actions/helper.go

Co-authored-by: a1012112796 <1012112796@qq.com>
This commit is contained in:
Jason Song
2022-12-12 10:48:32 +08:00
committed by GitHub
parent dfa1b6168d
commit 22203eeb38

View File

@@ -134,7 +134,7 @@ func notify(ctx context.Context, input *notifyInput) error {
for id, content := range workflows {
run := actions_model.ActionRun{
Title: commit.Message(),
Title: strings.SplitN(commit.CommitMessage, "\n", 2)[0],
RepoID: input.Repo.ID,
OwnerID: input.Repo.OwnerID,
WorkflowID: id,