Do not crash when parsing an invalid workflow file (#23972)

Fix #23658.

Related to https://gitea.com/gitea/act/pulls/39
This commit is contained in:
Jason Song 2023-04-07 20:12:10 +08:00 committed by GitHub
parent 88033438aa
commit ecf34fcd89
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 13 additions and 3 deletions

2
go.mod
View file

@ -289,7 +289,7 @@ replace github.com/shurcooL/vfsgen => github.com/lunny/vfsgen v0.0.0-20220105142
replace github.com/blevesearch/zapx/v15 v15.3.6 => github.com/zeripath/zapx/v15 v15.3.6-alignment-fix
replace github.com/nektos/act => gitea.com/gitea/act v0.243.2-0.20230329055922-5e76853b55ab
replace github.com/nektos/act => gitea.com/gitea/act v0.243.3-0.20230407083103-5c4a96bcb797
exclude github.com/gofrs/uuid v3.2.0+incompatible