From 83fb85f70221212413471040771943b4f6085961 Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Sun, 26 Mar 2023 21:01:46 +0800 Subject: [PATCH] Fix bug (#31) Reviewed-on: https://gitea.com/gitea/act/pulls/31 Reviewed-by: Jason Song Co-authored-by: Lunny Xiao Co-committed-by: Lunny Xiao --- pkg/jobparser/model.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/jobparser/model.go b/pkg/jobparser/model.go index f9c94ec..2d312ba 100644 --- a/pkg/jobparser/model.go +++ b/pkg/jobparser/model.go @@ -180,7 +180,7 @@ func ParseRawOn(rawOn *yaml.Node) ([]*Event, error) { if v == nil { res = append(res, &Event{ Name: k, - Acts: map[string][]string{}, + acts: map[string][]string{}, }) continue }