Skip to content

Commit

Permalink
parse config file twice. once from the current working directory, onc…
Browse files Browse the repository at this point in the history
…e from the repo root.
  • Loading branch information
AnalogJ committed Mar 16, 2022
1 parent 875c93c commit 0118737
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkg/pipeline.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ func (p *Pipeline) Start(config config.Interface) error {
p.Config = config
p.Data = new(pipeline.Data)

if err := p.ParseRepoConfig(); err != nil {
return err
}

if err := p.PipelineInitStep(); err != nil {
return err
}
Expand Down

0 comments on commit 0118737

Please sign in to comment.