forgejo-runner-act/pkg/model
Markus Wolf a8e05cded6
feat: allow to spawn and run a local reusable workflow (#1423)
* feat: allow to spawn and run a local reusable workflow

This change contains the ability to parse/plan/run a local
reusable workflow.
There are still numerous things missing:

- inputs
- secrets
- outputs

* feat: add workflow_call inputs

* test: improve inputs test

* feat: add input defaults

* feat: allow expressions in inputs

* feat: use context specific expression evaluator

* refactor: prepare for better re-usability

* feat: add secrets for reusable workflows

* test: use secrets during test run

* feat: handle reusable workflow outputs

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-12-15 16:45:22 +00:00
..
testdata implement volume mount for container job (#1101) 2022-04-04 18:01:13 +00:00
action.go implement pre and post steps (#1089) 2022-05-24 13:36:06 +00:00
github_context.go fix: align github.ref to GitHub Action (#1362) 2022-09-26 22:49:19 +00:00
github_context_test.go fix: align github.ref to GitHub Action (#1362) 2022-09-26 22:49:19 +00:00
job_context.go refactor: export and move shared contexts into pkg/model (#931) 2021-12-22 19:52:09 +00:00
planner.go refactor: move from io/ioutil to io and os packages (#1417) 2022-10-29 17:15:38 +00:00
planner_test.go refactor: remove github.com/pkg/errors dependency (#1077) 2022-06-10 21:16:42 +00:00
step_result.go implement pre and post steps (#1089) 2022-05-24 13:36:06 +00:00
workflow.go feat: allow to spawn and run a local reusable workflow (#1423) 2022-12-15 16:45:22 +00:00
workflow_test.go feat: parse types of reusable workflows (#1414) 2022-11-01 15:58:07 +00:00