edd0fb92a7
With this change `act` will try to populate the `githubContext.ref` and `githubContext.sha` with values read from the event payload. Caveats: - `page_build` should not have a ref - `status` should not have a ref - `registry_package` should set the ref to the branch/tag but the payload isn't documented - `workflow_call` should set ref to the same value as its caller but the payload isn't documented - most of the events should set the sha to the last commit on the ref but unfortunately the sha is not always included in the payload, therefore we use the sha from the local git checkout Co-Authored-By: Philipp Hinrichsen <philipp.hinrichsen@new-work.se> Co-authored-by: Philipp Hinrichsen <philipp.hinrichsen@new-work.se> |
||
---|---|---|
.. | ||
res | ||
testdata | ||
command.go | ||
command_test.go | ||
expression.go | ||
expression_test.go | ||
logger.go | ||
run_context.go | ||
run_context_test.go | ||
runner.go | ||
runner_test.go | ||
step_context.go | ||
step_context_test.go |