1
0
Fork 0
mirror of https://code.forgejo.org/forgejo/runner.git synced 2025-10-15 19:42:06 +00:00
forgejo-runner/act/jobparser
Earl Warren 13ed94f5b7 feat!: add the validate argument to reading workflows (#180)
This is a followup of https://code.forgejo.org/forgejo/act/pulls/170 so that it is possible to read a workflow without validation. It is not uncommon for Forgejo to read a workflow just to extract a few information from it, knowing it has been validated before. It would be a performance regression if schema validation happened in these cases.

This is a port of https://github.com/nektos/act/pull/2717/files

It is a breaking change in the context of Forgejo and Forgejo runner because it will need to add the new `validate` argument when reading workflows.

Co-authored-by: ChristopherHX <christopher.homberger@web.de>
Reviewed-on: https://code.forgejo.org/forgejo/act/pulls/180
Reviewed-by: Michael Kriese <michael.kriese@gmx.de>
Co-authored-by: Earl Warren <contact@earl-warren.org>
Co-committed-by: Earl Warren <contact@earl-warren.org>
2025-07-16 08:46:36 +00:00
..
testdata chore(tests): fix invalid jobparser tests 2025-07-11 14:12:22 +02:00
evaluator.go Add custom enhancements 2022-11-22 14:16:35 +08:00
interpeter.go Make runs-on support variable expression (#91) 2024-03-01 04:29:58 +00:00
jobparser.go feat!: add the validate argument to reading workflows (#180) 2025-07-16 08:46:36 +00:00
jobparser_test.go feat!: add the validate argument to reading workflows (#180) 2025-07-16 08:46:36 +00:00
model.go fix(jobparser): support workflow_call.inputs and workflow_call.outputs (#70) 2025-01-29 08:38:30 +00:00
model_test.go feat!: add the validate argument to reading workflows (#180) 2025-07-16 08:46:36 +00:00
testdata_test.go Expose SetJob to make EraseNeeds work (#35) 2023-03-29 13:57:29 +08:00