forgejo-runner-act/pkg/runner
Markus Wolf 97c083e902
fix: align github.ref to GitHub Action (#1362)
* fix: align github.ref to GitHub Action

The `github.ref` value should be `refs/heads/branch` in most cases.
There are a few exceptions handled by the code.

This change prefixes the default case with `refs/heads` and adds
tests for this and the excpetional cases.

* fix: correct existing assertions
2022-09-26 22:49:19 +00:00
..
res Add super-linter + fix lint issues (#650) 2021-05-03 09:52:03 -07:00
testdata fix: crash on invalid docker credentials (#1348) 2022-09-26 06:17:06 +00:00
action.go fix: missing defaults in nodejs pre (#1349) 2022-09-26 06:08:08 +00:00
action_composite.go fix: ensure all post steps are executed (#1286) 2022-07-29 19:43:24 +00:00
action_test.go Improve logging (#1171) 2022-06-17 15:55:21 +00:00
command.go Improve logging (#1171) 2022-06-17 15:55:21 +00:00
command_test.go Improve logging (#1171) 2022-06-17 15:55:21 +00:00
container_mock_test.go feat: split job steps into its own files/structs (#1004) 2022-03-22 14:13:00 -07:00
expression.go support runner.arch (#1290) 2022-08-29 15:39:31 +00:00
expression_test.go Improve logging (#1171) 2022-06-17 15:55:21 +00:00
job_executor.go fix: crash on invalid docker credentials (#1348) 2022-09-26 06:17:06 +00:00
job_executor_test.go Improve logging (#1171) 2022-06-17 15:55:21 +00:00
logger.go fix: add parent step id in composite action step id (#1268) 2022-07-27 19:56:41 +00:00
run_context.go fix: align github.ref to GitHub Action (#1362) 2022-09-26 22:49:19 +00:00
run_context_test.go fix: align github.ref to GitHub Action (#1362) 2022-09-26 22:49:19 +00:00
runner.go Made env interpolated instead of evaluated. (#1222) 2022-07-27 19:46:04 +00:00
runner_test.go fix: crash on invalid docker credentials (#1348) 2022-09-26 06:17:06 +00:00
step.go fix: support expression for step's continue-on-error field (#900) (#1331) 2022-09-08 14:20:39 +00:00
step_action_local.go Improve logging (#1171) 2022-06-17 15:55:21 +00:00
step_action_local_test.go Improve logging (#1171) 2022-06-17 15:55:21 +00:00
step_action_remote.go fix: checkout container path should always use / (#1226) 2022-06-21 21:23:49 +00:00
step_action_remote_test.go feat: add option to bypass GHE for actions checkout (#1162) 2022-06-21 13:52:21 +00:00
step_docker.go support runner.arch (#1290) 2022-08-29 15:39:31 +00:00
step_docker_test.go feat: split job steps into its own files/structs (#1004) 2022-03-22 14:13:00 -07:00
step_factory.go feat: split job steps into its own files/structs (#1004) 2022-03-22 14:13:00 -07:00
step_factory_test.go feat: split job steps into its own files/structs (#1004) 2022-03-22 14:13:00 -07:00
step_run.go Improve logging (#1171) 2022-06-17 15:55:21 +00:00
step_run_test.go feat: split job steps into its own files/structs (#1004) 2022-03-22 14:13:00 -07:00
step_test.go fix: support expression for step's continue-on-error field (#900) (#1331) 2022-09-08 14:20:39 +00:00