Skip to content

Commit 95dbe90

Browse files
authored
Merge pull request #13 from ccptoebeans/kotlin_token
Change github token for PR build status publisher
2 parents 3821e78 + 8c6be1a commit 95dbe90

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

.teamcity/MacOS/Project.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ class CarbonBuildMacOS(buildName: String, configType: String, preset: String, ag
150150
vcsRootExtId = "${DslContext.settingsRootId.id}"
151151
provider = github {
152152
authType = token {
153-
token = "%GITHUB_TEAMCITY_TOKEN%"
153+
token = "%GITHUB_CARBON_PAT%"
154154
}
155155
filterAuthorRole = PullRequests.GitHubRoleFilter.MEMBER
156156
}
@@ -159,7 +159,7 @@ class CarbonBuildMacOS(buildName: String, configType: String, preset: String, ag
159159
publisher = github {
160160
githubUrl = "https://api.github.com"
161161
authType = personalToken {
162-
token = "%GITHUB_TEAMCITY_TOKEN%"
162+
token = "%GITHUB_CARBON_PAT%"
163163
}
164164
}
165165
}

.teamcity/Windows/Project.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ class CarbonBuildWindows(buildName: String, configType: String, preset: String)
206206
vcsRootExtId = "${DslContext.settingsRootId.id}"
207207
provider = github {
208208
authType = token {
209-
token = "%GITHUB_TEAMCITY_TOKEN%"
209+
token = "%GITHUB_CARBON_PAT%"
210210
}
211211
filterAuthorRole = PullRequests.GitHubRoleFilter.MEMBER
212212
}
@@ -215,7 +215,7 @@ class CarbonBuildWindows(buildName: String, configType: String, preset: String)
215215
publisher = github {
216216
githubUrl = "https://api.github.com"
217217
authType = personalToken {
218-
token = "%GITHUB_TEAMCITY_TOKEN%"
218+
token = "%GITHUB_CARBON_PAT%"
219219
}
220220
}
221221
}

0 commit comments

Comments
 (0)