Skip to content

Commit

Permalink
2556 [BE] get autotest contributors from repo https://github.com/Brai…
Browse files Browse the repository at this point in the history
  • Loading branch information
andrsam committed Dec 28, 2023
1 parent 25bb882 commit 8db0629
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/main/kotlin/com/epam/brn/enums/ContributorType.kt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ enum class ContributorType {
DEVELOPER,
SPECIALIST,
QA,
AUTOTESTER,
DESIGNER,
OTHER,
}
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,10 @@ class ContributorServiceImpl(
name = gitHubUser.name ?: "gitHubNick:${gitHubUser.login}",
repositoryName = repositoryName,
company = gitHubUser.company,
type = if (repositoryName == "auto-tests-python")
ContributorType.AUTOTESTER
else
ContributorType.DEVELOPER,
pictureUrl = gitHubUser.avatarUrl,
description = gitHubUser.bio
)
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ azure.tts.default-output-format=ogg-16khz-16bit-mono-opus

github.contributors.sync.cron=@daily
github.contributors.sync.organization-name=Brain-up
github.contributors.sync.repository-names=brn, mobile, mobile-ios, mobile-android, mobile-kmp, brn-autotests, kotlin-tests
github.contributors.sync.repository-names=brn, mobile, mobile-ios, mobile-android, mobile-kmp, brn-autotests, kotlin-tests, auto-tests-python
github.contributors.default-page-size=30
github.contributors.bot-logins=dependabot-preview[bot],snyk-bot,dependabot[bot]
github.api.type-token=${API_GITHUB_TYPE_TOKEN:token}
Expand Down

0 comments on commit 8db0629

Please sign in to comment.