mirror of
https://github.com/nektos/act.git
synced 2026-04-26 17:35:49 +03:00
[PR #2128] [MERGED] feat: support offline mode #2279
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#2279
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/2128
Author: @TKaxv-7S
Created: 12/16/2023
Status: ✅ Merged
Merged: 1/20/2024
Merged by: @mergify[bot]
Base:
master← Head:support_offline_mode📝 Commits (7)
c08a3d2Add: Actions Offline Mode638219fMerge branch 'master' into support_offline_mode69e9530Merge branch 'master' into support_offline_modeef9c5dbMerge branch 'master' into support_offline_mode857d9ceMerge branch 'master' into support_offline_modefe28097Add: Actions Offline Modeda0191eMerge branch 'master' into support_offline_mode📊 Changes
6 files changed (+31 additions, -19 deletions)
View changed files
📝
cmd/input.go(+1 -0)📝
cmd/root.go(+3 -1)📝
pkg/common/git/git.go(+16 -10)📝
pkg/runner/reusable_workflow.go(+5 -4)📝
pkg/runner/runner.go(+1 -0)📝
pkg/runner/step_action_remote.go(+5 -4)📄 Description
In some regions, connecting to github.com may not be as smooth.
So every time we using
uses:method, it is not a good way tofetchandpullthe current action content, and I think the action tag will also be rarely updated.We can add a configurable option in
OfflineModeto control it, setting the default value tofalse, so this will not affect other users.PS: This feature is mainly intended for use by Gitea act_runner. If possible, I will also create a pull request over there.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.