mirror of
https://github.com/nektos/act.git
synced 2026-04-26 09:25:54 +03:00
[GH-ISSUE #1874] How to clone repository instead of copying from local directory? #907
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#907
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?
Originally created by @duzenko on GitHub (Jun 20, 2023).
Original GitHub issue: https://github.com/nektos/act/issues/1874
Bug report info
Command used with act
Describe issue
Entire node_modules directory gets copies each time an action runs
I'd like it to repeat what github actions do - clone and run
npm iLink to GitHub repository
No response
Workflow content
Relevant log output
Additional information
I've encountered mentions of "local actions" in other issues but can't see any docs on that
@ZauberNerd commented on GitHub (Jun 20, 2023):
act --no-skip-checkout(see alsoact --help).@duzenko commented on GitHub (Jun 21, 2023):
@ZauberNerd Sorry, but how do make that work with a private repo?
I'd think it should just mount user's
.sshdirectory to docker container for seamless authentication, but in reality I get this@ZauberNerd commented on GitHub (Jun 21, 2023):
@duzenko I looked into implementing it that way a while ago. Unfortunately it won't work, because that is not how GitHub Actions on github.com behave because they need a PAT (personal access token) instead of SSH. So you need to pass the
github.tokento the checkout action, as seen from the error message:::error::Input required and not supplied: tokencheck out the documentation for the checkout action: https://github.com/actions/checkoutSee also the act documentation on the topic here: https://nektosact.com/beginner/index.html?highlight=token#github_token