[PR #1177] [CLOSED] fix: don't overwrite env when sourcing env from container #1822

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

📋 Pull Request Information

Original PR: https://github.com/nektos/act/pull/1177
Author: @catthehacker
Created: 5/19/2022
Status: Closed

Base: masterHead: fix/env


📝 Commits (1)

  • 4ac7b9b fix: don't overwrite env when sourcing env from container

📊 Changes

5 files changed (+40 additions, -62 deletions)

View changed files

📝 pkg/container/docker_run.go (+1 -15)
pkg/container/docker_run_test.go (+0 -47)
📝 pkg/runner/run_context.go (+22 -0)
📝 pkg/runner/runner_test.go (+1 -0)
pkg/runner/testdata/env/push.yml (+16 -0)

📄 Description

Fixes #1175

Signed-off-by: Ryan me@hackerc.at


🔄 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/1177 **Author:** [@catthehacker](https://github.com/catthehacker) **Created:** 5/19/2022 **Status:** ❌ Closed **Base:** `master` ← **Head:** `fix/env` --- ### 📝 Commits (1) - [`4ac7b9b`](https://github.com/nektos/act/commit/4ac7b9b4766a4ee391f339d21b6b6d26ff80c517) fix: don't overwrite env when sourcing env from container ### 📊 Changes **5 files changed** (+40 additions, -62 deletions) <details> <summary>View changed files</summary> 📝 `pkg/container/docker_run.go` (+1 -15) ➖ `pkg/container/docker_run_test.go` (+0 -47) 📝 `pkg/runner/run_context.go` (+22 -0) 📝 `pkg/runner/runner_test.go` (+1 -0) ➕ `pkg/runner/testdata/env/push.yml` (+16 -0) </details> ### 📄 Description Fixes #1175 Signed-off-by: Ryan <me@hackerc.at> --- <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:49 +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#1822
No description provided.