<commit_before>package OpenSourceProjects_Storybook.patches.buildTypes

import jetbrains.buildServer.configs.kotlin.v2017_2.*
import jetbrains.buildServer.configs.kotlin.v2017_2.triggers.VcsTrigger
import jetbrains.buildServer.configs.kotlin.v2017_2.triggers.vcs
import jetbrains.buildServer.configs.kotlin.v2017_2.ui.*

/*
This patch script was generated by TeamCity on settings change in UI.
To apply the patch, change the buildType with uuid = '759f0116-2f7d-4c03-8220-56e4ab03be3a' (id = 'OpenSourceProjects_Storybook_Danger')
accordingly, and delete the patch script.
*/
changeBuildType("759f0116-2f7d-4c03-8220-56e4ab03be3a") {
    triggers {
        val trigger1 = find<VcsTrigger> {
            vcs {
                quietPeriodMode = VcsTrigger.QuietPeriodMode.USE_DEFAULT
                triggerRules = "-:comment=^TeamCity change:**"
                branchFilter = """
                    +:*
                    -:master
                """.trimIndent()
            }
        }
        trigger1.apply {
            triggerRules = ""
        }
    }
}<commit_msg>TeamCity change in 'Open-source projects / Storybook' project: build features of 'Danger' build configuration were updated<commit_after>package OpenSourceProjects_Storybook.patches.buildTypes

import jetbrains.buildServer.configs.kotlin.v2017_2.*
import jetbrains.buildServer.configs.kotlin.v2017_2.BuildFeature
import jetbrains.buildServer.configs.kotlin.v2017_2.triggers.VcsTrigger
import jetbrains.buildServer.configs.kotlin.v2017_2.triggers.vcs
import jetbrains.buildServer.configs.kotlin.v2017_2.ui.*

/*
This patch script was generated by TeamCity on settings change in UI.
To apply the patch, change the buildType with uuid = '759f0116-2f7d-4c03-8220-56e4ab03be3a' (id = 'OpenSourceProjects_Storybook_Danger')
accordingly, and delete the patch script.
*/
changeBuildType("759f0116-2f7d-4c03-8220-56e4ab03be3a") {
    triggers {
        val trigger1 = find<VcsTrigger> {
            vcs {
                quietPeriodMode = VcsTrigger.QuietPeriodMode.USE_DEFAULT
                triggerRules = "-:comment=^TeamCity change:**"
                branchFilter = """
                    +:*
                    -:master
                """.trimIndent()
            }
        }
        trigger1.apply {
            triggerRules = ""
        }
    }

    features {
        val feature1 = find<BuildFeature> {
            feature {
                type = "pullRequests"
                param("authenticationType", "vcsRoot")
                param("filterAuthorRole", "EVERYBODY")
            }
        }
        feature1.apply {
            param("authenticationType", "token")
            param("secure:accessToken", "credentialsJSON:<PASSWORD>")
        }
    }
}
{'fraction_non_alphanumeric': 0.09685672514619884, 'fraction_numerical': 0.05080409356725146, 'mean_word_length': 2.451450189155107, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5330689', 'n_tokens_mistral': 924, 'n_tokens_neox': 822, 'n_words': 144}