mirror of
https://github.com/go-gitea/gitea
synced 2025-07-26 20:28:40 +00:00
Update modules/notification/actions/helper.go
Co-authored-by: a1012112796 <1012112796@qq.com>
This commit is contained in:
@@ -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,
|
||||
|
Reference in New Issue
Block a user