act/pkg/model
Markus Wolf 6744e68ee2
fix: correct ref and ref_name (#1672)
* fix: correct ref and ref_name

The ref in the GitHub context is always full qualified
(e.g. refs/heads/branch, refs/tags/v1).
The ref_name is the ref with the strippep prefix.
In case of pull_requests, this is the merge commit ref
(e.g. refs/pull/123/merge -> 123/merge).

* test: update test data
2023-03-09 20:03:13 +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: correct ref and ref_name (#1672) 2023-03-09 20:03:13 +00:00
github_context_test.go fix: correct ref and ref_name (#1672) 2023-03-09 20:03:13 +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 fix: tolerate workflow that needs a missing job (#1595) (#1619) 2023-02-16 16:41:59 +00:00
planner_test.go refactor: remove github.com/pkg/errors dependency (#1077) 2022-06-10 21:16:42 +00:00
step_result.go refactor: fix savestate in pre steps (#1466) 2022-12-15 17:08:31 +00:00
workflow.go fix: update output handling for reusable workflows (#1521) 2023-02-23 22:34:47 +00:00
workflow_test.go fix: tolerate workflow that needs a missing job (#1595) (#1619) 2023-02-16 16:41:59 +00:00