rename builds -> bots

This commit is contained in:
Lunny Xiao authored and Jason Song committed 2022-11-25 17:48:48 +08:00
1 parent c61ac24c1c
commit 2ecb59c092
24 files changed
+81 -78

No files matched your search

+1 -1
View File
@@ -175,7 +175,7 @@ func (r *RepoUnit) BeforeSet(colName string, val xorm.Cell) {
r.Config = new(PullRequestsConfig)
case unit.TypeIssues:
r.Config = new(IssuesConfig)
case unit.TypeCode, unit.TypeReleases, unit.TypeWiki, unit.TypeProjects, unit.TypePackages, unit.TypeBuilds:
case unit.TypeCode, unit.TypeReleases, unit.TypeWiki, unit.TypeProjects, unit.TypePackages, unit.TypeBots:
fallthrough
default:
r.Config = new(UnitConfig)