[PR #1162] [MERGED] feat: add option to bypass GHE for actions checkout #1812

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

📋 Pull Request Information

Original PR: https://github.com/nektos/act/pull/1162
Author: @NeoHsu
Created: 5/13/2022
Status: Merged
Merged: 6/21/2022
Merged by: @mergify[bot]

Base: masterHead: feat/through-github-action


📝 Commits (5)

  • 4fb20ed feat(#1161): add --through-action to assigned actions from GitHub
  • d4b397e docs(flags): add --through-action and --through-action-token flags description
  • 559f7cb test(action, remote): add test case for ThroughAction
  • 045adcf refactor(command): rename command from --through-action to --actions-from-github
  • 723f62c refactor(command): rename command from --actions-from-github to --replace-ghe-action-with-github-com

📊 Changes

6 files changed (+286 additions, -127 deletions)

View changed files

📝 README.md (+38 -36)
📝 cmd/input.go (+35 -33)
📝 cmd/root.go (+33 -29)
📝 pkg/runner/runner.go (+31 -29)
📝 pkg/runner/step_action_remote.go (+8 -0)
📝 pkg/runner/step_action_remote_test.go (+141 -0)

📄 Description

What's this PR do?
add --through-action arg to assigned actions clone from GitHub

How should this be manually tested?
local

What are the relevant tickets number link?
#1161

Screenshots (if appropriate)

Anything you want to say:
On GitHub Enterprise server, we can allow specified actions from GitHub,
When we use act --github-instance on GitHub Enterprise server, the act will clone all actions from GitHub Enterprise server.
If we allow specified actions on GitHub Enterprise server that will not found actions.


🔄 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/1162 **Author:** [@NeoHsu](https://github.com/NeoHsu) **Created:** 5/13/2022 **Status:** ✅ Merged **Merged:** 6/21/2022 **Merged by:** [@mergify[bot]](https://github.com/apps/mergify) **Base:** `master` ← **Head:** `feat/through-github-action` --- ### 📝 Commits (5) - [`4fb20ed`](https://github.com/nektos/act/commit/4fb20ed5d9bc3d71e8c171764bbc383f2b5d539e) feat(#1161): add --through-action to assigned actions from GitHub - [`d4b397e`](https://github.com/nektos/act/commit/d4b397e8bad745905d393b561f610f56ef56d7bd) docs(flags): add --through-action and --through-action-token flags description - [`559f7cb`](https://github.com/nektos/act/commit/559f7cb7a0cb6448a267abfc5727769747b74958) test(action, remote): add test case for ThroughAction - [`045adcf`](https://github.com/nektos/act/commit/045adcf28757be35a5eb21f8808f1caa43caf77f) refactor(command): rename command from --through-action to --actions-from-github - [`723f62c`](https://github.com/nektos/act/commit/723f62cce08a2a1efe17e118e9e11c761e2c544f) refactor(command): rename command from --actions-from-github to --replace-ghe-action-with-github-com ### 📊 Changes **6 files changed** (+286 additions, -127 deletions) <details> <summary>View changed files</summary> 📝 `README.md` (+38 -36) 📝 `cmd/input.go` (+35 -33) 📝 `cmd/root.go` (+33 -29) 📝 `pkg/runner/runner.go` (+31 -29) 📝 `pkg/runner/step_action_remote.go` (+8 -0) 📝 `pkg/runner/step_action_remote_test.go` (+141 -0) </details> ### 📄 Description **What's this PR do?** add `--through-action` arg to assigned actions clone from GitHub **How should this be manually tested?** local **What are the relevant tickets number link?** #1161 **Screenshots (if appropriate)** **Anything you want to say:** On GitHub Enterprise server, we can allow specified actions from GitHub, When we use `act --github-instance` on GitHub Enterprise server, the act will clone all actions from GitHub Enterprise server. If we allow specified actions on GitHub Enterprise server that will not found actions. --- <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:47 +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#1812
No description provided.