mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-10-21 17:25:52 +00:00
a bit of prep-work for adding caching
This commit is contained in:
@@ -135,7 +135,11 @@ func run(path string) {
|
||||
|
||||
// get the repository root directory
|
||||
dir := filepath.Dir(path)
|
||||
code := repo.Repo{Path: dir}
|
||||
code := repo.Repo{
|
||||
Name: dir,
|
||||
Branch: "HEAD", // should we do this?
|
||||
Path: dir,
|
||||
}
|
||||
|
||||
// does the local repository match the
|
||||
// $GOPATH/src/{package} pattern? This is
|
||||
|
Reference in New Issue
Block a user