[PR #1215] [MERGED] fix: keep action inputs #1845

Closed
opened 2026-03-01 21:52:55 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/nektos/act/pull/1215
Author: @KnisterPeter
Created: 6/14/2022
Status: Merged
Merged: 6/20/2022
Merged by: @cplee

Base: masterHead: fix/keep-inputs


📝 Commits (1)

📊 Changes

1 file changed (+50 additions, -51 deletions)

View changed files

📝 pkg/runner/step_action_remote.go (+50 -51)

📄 Description

Do not initialize inputs a second time (in pre and main step).
When the action setup already run during pre step, we must not
re-run it during the main step, otherwise the inputs will be
overwritten by possible other action inputs.

This is a regression introduced in https://github.com/nektos/act/pull/1204


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/nektos/act/pull/1215 **Author:** [@KnisterPeter](https://github.com/KnisterPeter) **Created:** 6/14/2022 **Status:** ✅ Merged **Merged:** 6/20/2022 **Merged by:** [@cplee](https://github.com/cplee) **Base:** `master` ← **Head:** `fix/keep-inputs` --- ### 📝 Commits (1) - [`7263a93`](https://github.com/nektos/act/commit/7263a93b1c93fc7124b89866866e71de02029f8e) fix: keep action inputs ### 📊 Changes **1 file changed** (+50 additions, -51 deletions) <details> <summary>View changed files</summary> 📝 `pkg/runner/step_action_remote.go` (+50 -51) </details> ### 📄 Description Do not initialize inputs a second time (in pre and main step). When the action setup already run during pre step, we must not re-run it during the main step, otherwise the inputs will be overwritten by possible other action inputs. This is a regression introduced in https://github.com/nektos/act/pull/1204 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-01 21:52:55 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/act#1845
No description provided.