We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
5a1e0d9, built with my PR
act complains when there's no remote repo.
act
Sometimes, a dev just wants to test ideas locally before creating a remote repo. :)
act/pkg/model/github_context.go
Line 172 in ccd28e7
func (ghc *GithubContext) SetRepositoryAndOwner(ctx context.Context, githubInstance string, remoteName string, repoPath string) { if ghc.Repository == "" { repo, err := git.FindGithubRepo(ctx, repoPath, githubInstance, remoteName) if err != nil { common.Logger(ctx).Warningf("unable to get git repo (githubInstance: %v; remoteName: %v, repoPath: %v): %v", githubInstance, remoteName, repoPath, err) return } ghc.Repository = repo } ghc.RepositoryOwner = strings.Split(ghc.Repository, "/")[0] }
The text was updated successfully, but these errors were encountered:
This used to work but was removed.
https://github.com/nektos/act/compare/9085c833bf2b68e90c022e70912b3c0c4499bdbc..ace4cd47c7f099864866b1f60e064fecde7f36ea#diff-c057d66dc9657d8428e290c69871596e2b567bb8fecad62a99cab54398131a84L679
Sorry, something went wrong.
The main issue is getGithubContext is called in multiple places, so the error repeats over and over.
getGithubContext
This bypasses the remote warning introduced in #2169
Successfully merging a pull request may close this issue.
Act version
5a1e0d9, built with my PR
Feature description
act
complains when there's no remote repo.Sometimes, a dev just wants to test ideas locally before creating a remote repo. :)
act/pkg/model/github_context.go
Line 172 in ccd28e7
The text was updated successfully, but these errors were encountered: