mirror of
https://github.com/go-gitea/gitea.git
synced 2025-04-18 00:47:48 -04:00
Update modules/notification/actions/helper.go
Co-authored-by: a1012112796 <1012112796@qq.com>
This commit is contained in:
parent
dfa1b6168d
commit
22203eeb38
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user