[PR #1049] [MERGED] feat: add flag to always run the checkout action #1746

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

📋 Pull Request Information

Original PR: https://github.com/nektos/act/pull/1049
Author: @robertkowalski
Created: 3/16/2022
Status: Merged
Merged: 3/21/2022
Merged by: @mergify[bot]

Base: masterHead: disable-local-checkout


📝 Commits (1)

  • 20dcf79 feat: add flag to always run the checkout action

📊 Changes

5 files changed (+9 additions, -1 deletions)

View changed files

📝 cmd/input.go (+1 -0)
📝 cmd/root.go (+2 -0)
📝 pkg/runner/run_context.go (+4 -0)
📝 pkg/runner/runner.go (+1 -0)
📝 pkg/runner/step_context.go (+1 -1)

📄 Description

act has a feature that skips the checkout action to do a remote
checkout when a local checkout exists. in some cases, e.g. when
running act in a CI, you always want to clone the repository.


🔄 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/1049 **Author:** [@robertkowalski](https://github.com/robertkowalski) **Created:** 3/16/2022 **Status:** ✅ Merged **Merged:** 3/21/2022 **Merged by:** [@mergify[bot]](https://github.com/apps/mergify) **Base:** `master` ← **Head:** `disable-local-checkout` --- ### 📝 Commits (1) - [`20dcf79`](https://github.com/nektos/act/commit/20dcf790b40e828a9b3acd13c2e8d907890d0c98) feat: add flag to always run the checkout action ### 📊 Changes **5 files changed** (+9 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `cmd/input.go` (+1 -0) 📝 `cmd/root.go` (+2 -0) 📝 `pkg/runner/run_context.go` (+4 -0) 📝 `pkg/runner/runner.go` (+1 -0) 📝 `pkg/runner/step_context.go` (+1 -1) </details> ### 📄 Description act has a feature that skips the checkout action to do a remote checkout when a local checkout exists. in some cases, e.g. when running act in a CI, you always want to clone the repository. --- <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:30 +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#1746
No description provided.