1
0
Fork 0
mirror of https://code.forgejo.org/forgejo/runner.git synced 2025-09-15 18:57:01 +00:00

chore: reduce verbosity to debug without side effects

This commit is contained in:
Earl Warren 2025-08-10 17:24:45 +02:00
parent b92d5cb3be
commit cad55f8320
No known key found for this signature in database
GPG key ID: 0579CB2928A78A00

View file

@ -172,9 +172,6 @@ func (ghc *GithubContext) SetRepositoryAndOwner(ctx context.Context, githubInsta
repo, err := git.FindGithubRepo(ctx, repoPath, githubInstance, remoteName)
if err != nil {
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