diff --git a/pkg/model/github_context.go b/pkg/model/github_context.go index 168447b2aa4..4cda2bfb1af 100644 --- a/pkg/model/github_context.go +++ b/pkg/model/github_context.go @@ -169,7 +169,10 @@ func (ghc *GithubContext) SetRepositoryAndOwner(ctx context.Context, githubInsta 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) + common.Logger(ctx).Debugf("unable to get git repo (githubInstance: %v; remoteName: %v, repoPath: %v): %v", githubInstance, remoteName, repoPath, err) + // nektos/act is used as a default action, so why not a repo? + ghc.Repository = "nektos/act" + ghc.RepositoryOwner = strings.Split(ghc.Repository, "/")[0] return } ghc.Repository = repo