diff --git a/internal/forgejo/repo.go b/internal/forgejo/repo.go index ad9cd88..291d327 100644 --- a/internal/forgejo/repo.go +++ b/internal/forgejo/repo.go @@ -552,6 +552,13 @@ func (rm *RepoManager) PublishDeliveryBranch(sourceDir, sourceBranch, repoURL, d if err := runGit(temporary, environment, "add", ".tekton"); err != nil { return false, err } + if _, err := os.Stat(filepath.Join(temporary, ".maidn")); err == nil { + if err := runGit(temporary, environment, "add", ".maidn"); err != nil { + return false, err + } + } else if !os.IsNotExist(err) { + return false, err + } changed, err := gitDiffQuiet(temporary, environment, "--cached") if err != nil { return false, err