Skip to content

Commit

Permalink
Merge branch 'master' into dependabot/gradle/io.gitlab.arturbosch.det…
Browse files Browse the repository at this point in the history
…ekt-1.23.1
  • Loading branch information
urielsalis authored Mar 18, 2024
2 parents 55d5830 + aa3ea16 commit 46e34ce
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/push-build-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
DEPLOY_KEY: ${{ secrets.SSH_PRIVATE_KEY }}
SERVER_PORT: 50022
FOLDER: "build/install/arisa-kt/lib"
ARGS: "-avh --delete"
ARGS: "-avhW --delete"
SERVER_IP: localhost
USERNAME: arisakt
SERVER_DESTINATION: /home/arisakt/arisa-kt
Expand All @@ -44,7 +44,7 @@ jobs:
DEPLOY_KEY: ${{ secrets.SSH_PRIVATE_KEY }}
SERVER_PORT: 50022
FOLDER: "build/install/arisa-kt/bin"
ARGS: "-avh --delete"
ARGS: "-avhW --delete"
SERVER_IP: localhost
USERNAME: arisakt
SERVER_DESTINATION: /home/arisakt/arisa-kt
Expand All @@ -60,7 +60,7 @@ jobs:
DEPLOY_KEY: ${{ secrets.SSH_PRIVATE_KEY }}
SERVER_PORT: 50022
FOLDER: "config"
ARGS: "-avh --delete --exclude='local.yml'"
ARGS: "-avhW --delete --exclude='local.yml'"
SERVER_IP: localhost
USERNAME: arisakt
SERVER_DESTINATION: /home/arisakt/arisa-kt
Expand Down
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
plugins {
kotlin("jvm") version "1.9.0"
kotlin("jvm") version "1.9.10"
id("org.jlleitschuh.gradle.ktlint") version "11.5.0"
application
id("io.gitlab.arturbosch.detekt") version "1.23.1"
Expand Down
2 changes: 1 addition & 1 deletion config/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ arisa:
privateSecurityLevel:
default: '10318'
special:
MCL: '10502'
mcl: '10502'

modules:
affectedVersionMessage:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ fun getCreationDate(issue: JiraIssue, id: String, default: Instant) = issue.chan
?.toInstant() ?: default

fun JiraProject.getSecurityLevelId(config: Config) =
config[Arisa.PrivateSecurityLevel.special][key] ?: config[Arisa.PrivateSecurityLevel.default]
config[Arisa.PrivateSecurityLevel.special][key.lowercase()] ?: config[Arisa.PrivateSecurityLevel.default]

fun JiraVersion.toDomain() = Version(
id,
Expand Down

0 comments on commit 46e34ce

Please sign in to comment.