Skip to content

Commit

Permalink
oops, too much legacy code
Browse files Browse the repository at this point in the history
  • Loading branch information
djeebus committed Dec 14, 2023
1 parent ce724a4 commit 79fd302
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions pkg/config/app_directory.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,14 +103,9 @@ func (d *AppDirectory) FindAppsBasedOnChangeList(changeList []string, targetBran

if !shouldInclude(app, targetBranch) {
log.Debug().Msgf("target revision of %s is %s and does not match '%s'", appName, app.TargetRevision, targetBranch)
}
if app.TargetRevision == "HEAD" && (targetBranch != "main" && targetBranch != "master") {
continue
}

if app.TargetRevision != "" && app.TargetRevision != targetBranch {
continue
}
appsSlice = append(appsSlice, app)
}

Expand Down

0 comments on commit 79fd302

Please sign in to comment.