[PR #1198] [MERGED] fix: localcheckout mock #1831

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

📋 Pull Request Information

Original PR: https://github.com/nektos/act/pull/1198
Author: @ChristopherHX
Created: 6/5/2022
Status: Merged
Merged: 6/20/2022
Merged by: @cplee

Base: masterHead: ChristopherHX-localcheckout-mock


📝 Commits (10+)

  • 88cccc2 Update run_context.go
  • 398cddc Update step_action_remote.go
  • 9a04786 Update step_action_remote.go
  • 8cd62f7 [no ci] eval path
  • cbb2193 Merge branch 'master' into ChristopherHX-localcheckout-mock
  • 8c8ced6 Update step_action_remote.go
  • ccb1c1d Update step_action_remote.go
  • f72cea7 Merge branch 'master' into ChristopherHX-localcheckout-mock
  • 918bb48 Update step_action_remote.go
  • f3d03eb Merge branch 'master' into ChristopherHX-localcheckout-mock

📊 Changes

2 files changed (+7 additions, -24 deletions)

View changed files

📝 pkg/runner/run_context.go (+0 -22)
📝 pkg/runner/step_action_remote.go (+7 -2)

📄 Description

Merging this before a fix for https://github.com/nektos/act/issues/1193 was merged, renders local actions unusable ( Merged, this change is ready )

  • Do not skip any checkouts if we don't bind mount the workspace
  • --no-skip-localcheckout now feels named wrong, since skipping is replaced by mocking it with docker cp
  • You can now checkout your workspace to multiple different locations and not just to the first one
  • Evaluate the path property of localcheckout

Closes #1112

Replaces other PR's
Closes #1192


🔄 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/1198 **Author:** [@ChristopherHX](https://github.com/ChristopherHX) **Created:** 6/5/2022 **Status:** ✅ Merged **Merged:** 6/20/2022 **Merged by:** [@cplee](https://github.com/cplee) **Base:** `master` ← **Head:** `ChristopherHX-localcheckout-mock` --- ### 📝 Commits (10+) - [`88cccc2`](https://github.com/nektos/act/commit/88cccc2708eab5ab63abf1b52a9b6ef0113c74a6) Update run_context.go - [`398cddc`](https://github.com/nektos/act/commit/398cddcbae630939d498285b1ef013c346aa60fe) Update step_action_remote.go - [`9a04786`](https://github.com/nektos/act/commit/9a04786e6721485d876f472fabe9757f5d03a2d0) Update step_action_remote.go - [`8cd62f7`](https://github.com/nektos/act/commit/8cd62f77847554830590de1db8b761d5480f6b2a) [no ci] eval path - [`cbb2193`](https://github.com/nektos/act/commit/cbb21937d1b2b7bef539e032a7ddf12bdfb3d3b6) Merge branch 'master' into ChristopherHX-localcheckout-mock - [`8c8ced6`](https://github.com/nektos/act/commit/8c8ced66706fa7ad2e38f41c047f8d5ae760b102) Update step_action_remote.go - [`ccb1c1d`](https://github.com/nektos/act/commit/ccb1c1d75b1a56772a02fa37173300b2f35a38ca) Update step_action_remote.go - [`f72cea7`](https://github.com/nektos/act/commit/f72cea7bb24ebc645ec913420f4440ed9ee7b8d2) Merge branch 'master' into ChristopherHX-localcheckout-mock - [`918bb48`](https://github.com/nektos/act/commit/918bb4839d0310f4b50a875a79773e384efee1ad) Update step_action_remote.go - [`f3d03eb`](https://github.com/nektos/act/commit/f3d03ebd0529ed3fd2855b232f2c7d52b0a28202) Merge branch 'master' into ChristopherHX-localcheckout-mock ### 📊 Changes **2 files changed** (+7 additions, -24 deletions) <details> <summary>View changed files</summary> 📝 `pkg/runner/run_context.go` (+0 -22) 📝 `pkg/runner/step_action_remote.go` (+7 -2) </details> ### 📄 Description ~~Merging this before a fix for https://github.com/nektos/act/issues/1193 was merged, renders local actions unusable~~ ( Merged, this change is ready ) - Do not skip any checkouts if we don't bind mount the workspace - `--no-skip-localcheckout` now feels named wrong, since skipping is replaced by mocking it with docker cp - You can now checkout your workspace to multiple different locations and not just to the first one - Evaluate the path property of localcheckout Closes #1112 Replaces other PR's Closes #1192 --- <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:52 +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#1831
No description provided.