1
0
Fork 0
mirror of https://code.forgejo.org/forgejo/runner.git synced 2025-08-16 18:01:34 +00:00
forgejo-runner/act/runner
Earl Warren be5c615201
fix: prevent unintended input replacement in reusable workflows with workflow_dispatch when using workflow_call (#833)
Refs https://github.com/nektos/act/pull/2349

---

See: https://github.com/nektos/act/issues/2464#issuecomment-2430903650

* Add condition to prevent replacing inputs in reusable workflows with workflow_dispatch inputs

---------

Co-authored-by: ChristopherHX <christopher.homberger@web.de>
(cherry picked from commit f4f4265e977a760e0637a65b1554af2cada034cc)

<!--start release-notes-assistant-->
<!--URL:https://code.forgejo.org/forgejo/runner-->
- bug fixes
  - [PR](https://code.forgejo.org/forgejo/runner/pulls/833): <!--number 833 --><!--line 0 --><!--description Zml4OiBwcmV2ZW50IHVuaW50ZW5kZWQgaW5wdXQgcmVwbGFjZW1lbnQgaW4gcmV1c2FibGUgd29ya2Zsb3dzIHdpdGggd29ya2Zsb3dfZGlzcGF0Y2ggd2hlbiB1c2luZyB3b3JrZmxvd19jYWxs-->fix: prevent unintended input replacement in reusable workflows with workflow_dispatch when using workflow_call<!--description-->
<!--end release-notes-assistant-->

Co-authored-by: S. M. Mahmudul Haque (Yamin) <haque@campus.tu-berlin.de>
Reviewed-on: https://code.forgejo.org/forgejo/runner/pulls/833
Reviewed-by: Mathieu Fenniak <mfenniak@noreply.code.forgejo.org>
Co-authored-by: Earl Warren <contact@earl-warren.org>
Co-committed-by: Earl Warren <contact@earl-warren.org>
2025-08-10 19:37:14 +00:00
..
hashfiles [RDNF #11] fix: skipped jobs have no result & fix: favor command-line over files & chore: fix some comments (#143) 2025-06-09 10:25:43 +00:00
res Add super-linter + fix lint issues (#650) 2021-05-03 09:52:03 -07:00
testdata fix: prevent unintended input replacement in reusable workflows with workflow_dispatch when using workflow_call (#833) 2025-08-10 19:37:14 +00:00
action.go fix: composite action input pollution (#818) 2025-08-10 16:24:19 +00:00
action_cache.go chore: to allow the runner to be imported, v9 needs to be in the go module (#777) 2025-07-31 10:35:11 +00:00
action_cache_offline_mode.go feat: offline mode for new action cache (#2173) 2025-04-12 14:03:12 +00:00
action_cache_test.go chore(tests): add coverage for ./pkg/runner (#202) 2025-07-28 06:18:46 +00:00
action_composite.go chore: to allow the runner to be imported, v9 needs to be in the go module (#777) 2025-07-31 10:35:11 +00:00
action_test.go chore: to allow the runner to be imported, v9 needs to be in the go module (#777) 2025-07-31 10:35:11 +00:00
command.go feat: log parsed commands and step summary (#824) 2025-08-07 21:03:44 +00:00
command_test.go chore: to allow the runner to be imported, v9 needs to be in the go module (#777) 2025-07-31 10:35:11 +00:00
container_mock_test.go chore: to allow the runner to be imported, v9 needs to be in the go module (#777) 2025-07-31 10:35:11 +00:00
expression.go fix: prevent unintended input replacement in reusable workflows with workflow_dispatch when using workflow_call (#833) 2025-08-10 19:37:14 +00:00
expression_test.go chore: to allow the runner to be imported, v9 needs to be in the go module (#777) 2025-07-31 10:35:11 +00:00
job_executor.go fix: longer timeouts on job cleanup without waiting (v2) (#798) 2025-08-03 07:01:46 +00:00
job_executor_test.go fix: log the URL of the action when it fails schema validation (#810) 2025-08-04 13:20:22 +00:00
local_repository_cache.go chore: to allow the runner to be imported, v9 needs to be in the go module (#777) 2025-07-31 10:35:11 +00:00
logger.go fix: valueMasker concurrent map write (#825) 2025-08-07 21:36:28 +00:00
lxc-helpers-lib.sh upgrade lxc-helpers (#806) 2025-08-04 08:06:31 +00:00
lxc-helpers.sh chore(upgrade): sync lxc-helpers v1.0.3 2025-01-29 10:30:12 +01:00
reusable_workflow.go chore: to allow the runner to be imported, v9 needs to be in the go module (#777) 2025-07-31 10:35:11 +00:00
run_context.go chore: run_context: add GITHUB_RUN_ATTEMPT (#2458) (#817) 2025-08-07 08:02:28 +00:00
run_context_test.go feat: wait for services to be healthy before starting a job (#805) 2025-08-07 04:36:26 +00:00
runner.go chore: to allow the runner to be imported, v9 needs to be in the go module (#777) 2025-07-31 10:35:11 +00:00
runner_test.go fix: prevent unintended input replacement in reusable workflows with workflow_dispatch when using workflow_call (#833) 2025-08-10 19:37:14 +00:00
step.go fix: composite action input pollution (#818) 2025-08-10 16:24:19 +00:00
step_action_local.go chore: to allow the runner to be imported, v9 needs to be in the go module (#777) 2025-07-31 10:35:11 +00:00
step_action_local_test.go feat: log parsed commands and step summary (#824) 2025-08-07 21:03:44 +00:00
step_action_remote.go fix: log the URL of the action when it fails schema validation (#810) 2025-08-04 13:20:22 +00:00
step_action_remote_test.go feat: log parsed commands and step summary (#824) 2025-08-07 21:03:44 +00:00
step_docker.go chore: to allow the runner to be imported, v9 needs to be in the go module (#777) 2025-07-31 10:35:11 +00:00
step_docker_test.go feat: log parsed commands and step summary (#824) 2025-08-07 21:03:44 +00:00
step_factory.go chore: to allow the runner to be imported, v9 needs to be in the go module (#777) 2025-07-31 10:35:11 +00:00
step_factory_test.go chore: to allow the runner to be imported, v9 needs to be in the go module (#777) 2025-07-31 10:35:11 +00:00
step_run.go chore: to allow the runner to be imported, v9 needs to be in the go module (#777) 2025-07-31 10:35:11 +00:00
step_run_test.go feat: log parsed commands and step summary (#824) 2025-08-07 21:03:44 +00:00
step_test.go chore: to allow the runner to be imported, v9 needs to be in the go module (#777) 2025-07-31 10:35:11 +00:00