mirror of
https://github.com/nektos/act.git
synced 2026-04-26 01:15:51 +03:00
[PR #2155] [MERGED] feat: Test writing remote Actions locally #2290
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#2290
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/2155
Author: @ChristopherHX
Created: 1/18/2024
Status: ✅ Merged
Merged: 2/23/2024
Merged by: @mergify[bot]
Base:
master← Head:local-repository-action-cache📝 Commits (4)
ba69f85feat: Test writing remote Actions locallyfee6a28Merge branch 'master' into local-repository-action-cache3f4aff6Merge branch 'master' into local-repository-action-cache5c1546fMerge branch 'master' into local-repository-action-cache📊 Changes
6 files changed (+144 additions, -1 deletions)
View changed files
📝
cmd/input.go(+1 -0)📝
cmd/root.go(+14 -1)➕
pkg/runner/local_repository_cache.go(+91 -0)📝
pkg/runner/runner_test.go(+26 -0)➕
pkg/runner/testdata/local-remote-action-overrides/config.yml(+3 -0)➕
pkg/runner/testdata/local-remote-action-overrides/push.yml(+9 -0)📄 Description
How to test
Usage:
./act --local-repository "https://github.com/test/test@v0=$PWD" -W test.yml -P self-hosted=-self-hosted -vNow also possible
./act --local-repository "test/test@v0=$PWD" -W test.yml -P self-hosted=-self-hosted -vaction.yml in cwd
Why?
Local actions cannot have pre steps and use a different syntax in the uses key
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.