[PR #5295] [MERGED] fix: step container workdir and mounts #2598

Closed
opened 2026-03-01 22:37:22 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/nektos/act/pull/5295
Author: @ChristopherHX
Created: 6/12/2025
Status: Merged
Merged: 8/21/2025
Merged by: @mergify[bot]

Base: masterHead: bp-15620836100


📝 Commits (2)

  • ebc7e00 fix: step container workdir and mounts (#93)
  • d3564ec Merge branch 'master' into bp-15620836100

📊 Changes

8 files changed (+77 additions, -2 deletions)

View changed files

📝 pkg/runner/action.go (+6 -1)
📝 pkg/runner/run_context.go (+8 -0)
📝 pkg/runner/runner_test.go (+4 -0)
pkg/runner/testdata/docker-action-host-env/action/Dockerfile (+13 -0)
pkg/runner/testdata/docker-action-host-env/action/action.yml (+12 -0)
pkg/runner/testdata/docker-action-host-env/action/entrypoint.sh (+18 -0)
pkg/runner/testdata/docker-action-host-env/push.yml (+15 -0)
📝 pkg/runner/testdata/uses-nested-composite/push.yml (+1 -1)

📄 Description

  • fix: step container workdir and mounts
  • avoid perm issues and do not mount tool_cache

Overdue, this fixes an bug seen in act_runner while using docker actions in host mode


🔄 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/5295 **Author:** [@ChristopherHX](https://github.com/ChristopherHX) **Created:** 6/12/2025 **Status:** ✅ Merged **Merged:** 8/21/2025 **Merged by:** [@mergify[bot]](https://github.com/apps/mergify) **Base:** `master` ← **Head:** `bp-15620836100` --- ### 📝 Commits (2) - [`ebc7e00`](https://github.com/nektos/act/commit/ebc7e005d9ebc14d24f7ae9e7e6b5ad01f4d1f48) fix: step container workdir and mounts (#93) - [`d3564ec`](https://github.com/nektos/act/commit/d3564ecb499e95cbbaf6f31d83c1be0e050ed411) Merge branch 'master' into bp-15620836100 ### 📊 Changes **8 files changed** (+77 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `pkg/runner/action.go` (+6 -1) 📝 `pkg/runner/run_context.go` (+8 -0) 📝 `pkg/runner/runner_test.go` (+4 -0) ➕ `pkg/runner/testdata/docker-action-host-env/action/Dockerfile` (+13 -0) ➕ `pkg/runner/testdata/docker-action-host-env/action/action.yml` (+12 -0) ➕ `pkg/runner/testdata/docker-action-host-env/action/entrypoint.sh` (+18 -0) ➕ `pkg/runner/testdata/docker-action-host-env/push.yml` (+15 -0) 📝 `pkg/runner/testdata/uses-nested-composite/push.yml` (+1 -1) </details> ### 📄 Description * fix: step container workdir and mounts * avoid perm issues and do not mount tool_cache _Overdue, this fixes an bug seen in act_runner while using docker actions in host mode_ --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-01 22:37:22 +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#2598
No description provided.