Skip to content

Commit 4e56e1c

Browse files
committed
(build) Update build configuration
After chatting with Josh, we have decided that the previous commit was the wrong approach, and instead, the Pull Request feature should be used to correctly identify which PR branches are available to build. The previous change to the vcs branch filter has been reverted, and the Pull Request feature, as used in the Unit Test build configuration has been copied into the scheduled integration tests build configuration.
1 parent 78787f6 commit 4e56e1c

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

.teamcity/settings.kts

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -153,12 +153,17 @@ object ChocolateySchd : BuildType({
153153
+:<default>
154154
""".trimIndent()
155155
triggerBuild = always()
156-
withPendingChangesOnly = false
156+
withPendingChangesOnly = false
157157
}
158-
vcs {
159-
branchFilter = """
160-
+:*
161-
""".trimIndent()
158+
}
159+
160+
features {
161+
pullRequests {
162+
provider = github {
163+
authType = token {
164+
token = "%system.GitHubPAT%"
165+
}
166+
}
162167
}
163168
}
164169

0 commit comments

Comments
 (0)