mirror of
https://github.com/nektos/act.git
synced 2026-04-26 01:15:51 +03:00
[PR #1162] [MERGED] feat: add option to bypass GHE for actions checkout #1812
Labels
No labels
area/action
area/cli
area/docs
area/image
area/runner
area/workflow
backlog
confirmed/not-planned
kind/bug
kind/discussion
kind/external
kind/feature-request
kind/question
meta/duplicate
meta/invalid
meta/need-more-info
meta/resolved
meta/wontfix
meta/workaround
needs-work
pull-request
review/not-planned
size/M
size/XL
size/XXL
stale
stale-exempt
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/act#1812
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 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:
master← Head:feat/through-github-action📝 Commits (5)
4fb20edfeat(#1161): add --through-action to assigned actions from GitHubd4b397edocs(flags): add --through-action and --through-action-token flags description559f7cbtest(action, remote): add test case for ThroughAction045adcfrefactor(command): rename command from --through-action to --actions-from-github723f62crefactor(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-actionarg to assigned actions clone from GitHubHow 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-instanceon 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.