1
0
mirror of https://github.com/chylex/IntelliJ-IdeaVim.git synced 2025-04-09 17:15:50 +02:00

Update GH configuration

This commit is contained in:
Alex Plate 2023-04-14 23:36:19 +03:00
parent 651cefca30
commit 0239f78889
No known key found for this signature in database
GPG Key ID: 0B97153C8FFEC09F
2 changed files with 2 additions and 57 deletions
.teamcity
_Self/subprojects
patches/buildTypes

View File

@ -60,7 +60,7 @@ class Github(command: String, desc: String) : IdeaVimBuildType({
pullRequests {
provider = github {
authType = token {
token = "credentialsJSON:43afd6e5-6ad5-4d12-a218-cf1547717a7f"
token = "credentialsJSON:90f3b439-6e91-40f7-a086-d4dd8e0ea9b8"
}
filterTargetBranch = "refs/heads/master"
filterAuthorRole = PullRequests.GitHubRoleFilter.EVERYBODY
@ -71,7 +71,7 @@ class Github(command: String, desc: String) : IdeaVimBuildType({
publisher = github {
githubUrl = "https://api.github.com"
authType = personalToken {
token = "credentialsJSON:43afd6e5-6ad5-4d12-a218-cf1547717a7f"
token = "credentialsJSON:90f3b439-6e91-40f7-a086-d4dd8e0ea9b8"
}
}
param("github_oauth_user", "AlexPl292")

View File

@ -1,55 +0,0 @@
package patches.buildTypes
import jetbrains.buildServer.configs.kotlin.v2019_2.*
import jetbrains.buildServer.configs.kotlin.v2019_2.buildFeatures.PullRequests
import jetbrains.buildServer.configs.kotlin.v2019_2.buildFeatures.pullRequests
import jetbrains.buildServer.configs.kotlin.v2019_2.triggers.VcsTrigger
import jetbrains.buildServer.configs.kotlin.v2019_2.triggers.vcs
import jetbrains.buildServer.configs.kotlin.v2019_2.ui.*
/*
This patch script was generated by TeamCity on settings change in UI.
To apply the patch, change the buildType with id = 'Github'
accordingly, and delete the patch script.
*/
changeBuildType(RelativeId("Github")) {
triggers {
val trigger1 = find<VcsTrigger> {
vcs {
branchFilter = """
+:refs/(pull/*)/head
-:<default>
""".trimIndent()
}
}
trigger1.apply {
branchFilter = "-:<default>"
}
}
features {
val feature1 = find<PullRequests> {
pullRequests {
provider = github {
authType = token {
token = "credentialsJSON:43afd6e5-6ad5-4d12-a218-cf1547717a7f"
}
filterTargetBranch = "refs/heads/master"
filterAuthorRole = PullRequests.GitHubRoleFilter.EVERYBODY
}
}
}
feature1.apply {
provider = github {
serverUrl = ""
authType = token {
token = "credentialsJSON:90f3b439-6e91-40f7-a086-d4dd8e0ea9b8"
}
filterSourceBranch = ""
filterTargetBranch = "refs/heads/master"
filterAuthorRole = PullRequests.GitHubRoleFilter.EVERYBODY
}
}
}
}