Skip to content

Commit a85985b

Browse files
Merge pull request #119 from leanix/renovate/all-dependencies
Update all dependencies
2 parents fdd93a4 + 25ecd4a commit a85985b

File tree

8 files changed

+32
-26
lines changed

8 files changed

+32
-26
lines changed

.github/workflows/gradle-build.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,11 @@ jobs:
1515
steps:
1616
- name: Check branch name
1717
run: |
18-
if [[ "${{ github.ref }}" == "refs/heads/main" ]] || [[ "${{ github.ref }}" =~ ^refs/heads/feature/.*$ ]] || [[ "${{ github.ref }}" =~ ^refs/heads/release/v.*$ ]] || [[ "${{ github.ref }}" =~ ^refs/heads/bug/.*$ ]] ; then
18+
if [[ "${{ github.ref }}" == "refs/heads/main" ]] || \
19+
[[ "${{ github.ref }}" =~ ^refs/heads/feature/.*$ ]] || \
20+
[[ "${{ github.ref }}" =~ ^refs/heads/release/v.*$ ]] || \
21+
[[ "${{ github.ref }}" =~ ^refs/heads/bug/.*$ ]] || \
22+
[[ "${{ github.ref }}" == "refs/heads/renovate/all-dependencies" ]] ; then
1923
echo "Branch naming is correct!"
2024
else
2125
echo "Invalid branch name! Correct format: 'feature/<branch-name>' or 'bug/<branch-name>' or release/vx.x.x"

.github/workflows/leanix-github-agent-code-coverage.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444

4545
- name: Add coverage to PR
4646
id: jacoco
47-
uses: madrapps/jacoco-report@v1.3
47+
uses: madrapps/jacoco-report@94dfcf8dae9680be2cfa714ca37fb37790bd7663 # v1.6
4848
with:
4949
paths: ${{ github.workspace }}/build/jacocoXml/jacocoTestReport.xml
5050
token: ${{secrets.GITHUB_TOKEN}}

.github/workflows/publish-dev-docker-image.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,21 +39,21 @@ jobs:
3939
arguments: build
4040

4141
- name: Log in to the Container registry
42-
uses: docker/login-action@v3.2.0
42+
uses: docker/login-action@5e57cd118135c172c3672efd75eb46360885c0ef # v3.6.0
4343
with:
4444
registry: ${{ env.REGISTRY }}
4545
username: ${{ github.actor }}
4646
password: ${{ secrets.GITHUB_TOKEN }}
4747

4848
- name: Extract metadata (tags, labels) for Docker
4949
id: meta
50-
uses: docker/metadata-action@v5.5.1
50+
uses: docker/metadata-action@c1e51972afc2121e065aed6d45c65596fe445f3f # v5.8.0
5151
with:
5252
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
5353

5454
- name: Build and push Docker image
5555
id: push
56-
uses: docker/build-push-action@v5.3.0
56+
uses: docker/build-push-action@ca052bb54ab0790a636c9b5f226502c73d547a25 # v5.4.0
5757
with:
5858
context: .
5959
push: true

.github/workflows/publish-package-to-ghcr.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ jobs:
105105
arguments: build
106106

107107
- name: Log in to the Container registry
108-
uses: docker/login-action@v3.2.0
108+
uses: docker/login-action@5e57cd118135c172c3672efd75eb46360885c0ef # v3.6.0
109109
if: (steps.tag-action.outputs.tag != '')
110110
with:
111111
registry: ${{ env.REGISTRY }}
@@ -114,14 +114,14 @@ jobs:
114114

115115
- name: Extract metadata (tags, labels) for Docker
116116
id: meta
117-
uses: docker/metadata-action@v5.5.1
117+
uses: docker/metadata-action@c1e51972afc2121e065aed6d45c65596fe445f3f # v5.8.0
118118
if: (steps.tag-action.outputs.tag != '')
119119
with:
120120
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
121121

122122
- name: Build and push Docker image
123123
id: push
124-
uses: docker/build-push-action@v5.3.0
124+
uses: docker/build-push-action@ca052bb54ab0790a636c9b5f226502c73d547a25 # v5.4.0
125125
if: (steps.tag-action.outputs.tag != '')
126126
with:
127127
context: .

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM --platform=linux/x86_64 eclipse-temurin:21-jre-alpine
1+
FROM --platform=linux/x86_64 eclipse-temurin:21.0.8_9-jre-alpine@sha256:990397e0495ac088ab6ee3d949a2e97b715a134d8b96c561c5d130b3786a489d
22

33
RUN apk --no-cache upgrade && apk --no-cache add curl ca-certificates
44

build.gradle.kts

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
import com.expediagroup.graphql.plugin.gradle.tasks.GraphQLGenerateClientTask
22

33
plugins {
4-
id("org.springframework.boot") version "3.4.3"
5-
id("io.spring.dependency-management") version "1.1.5"
6-
id("com.expediagroup.graphql") version "8.3.0"
7-
id("io.gitlab.arturbosch.detekt") version "1.23.7"
8-
kotlin("jvm") version "2.0.10"
9-
kotlin("plugin.spring") version "2.0.10"
4+
id("org.springframework.boot") version "3.5.7"
5+
id("io.spring.dependency-management") version "1.1.7"
6+
id("com.expediagroup.graphql") version "8.8.1"
7+
id("io.gitlab.arturbosch.detekt") version "1.23.8"
8+
kotlin("jvm") version "2.0.21"
9+
kotlin("plugin.spring") version "2.0.21"
1010
jacoco
1111
}
1212

@@ -23,7 +23,7 @@ repositories {
2323
mavenCentral()
2424
}
2525

26-
extra["springCloudVersion"] = "2024.0.0"
26+
extra["springCloudVersion"] = "2025.0.0"
2727

2828
dependencyManagement {
2929
imports {
@@ -36,22 +36,22 @@ dependencies {
3636
implementation("org.springframework.boot:spring-boot-starter-aop")
3737
implementation("org.springframework.boot:spring-boot-starter-actuator")
3838
implementation("org.springframework.boot:spring-boot-starter-cache")
39-
implementation("com.github.ben-manes.caffeine:caffeine:2.8.8")
40-
implementation("org.springframework.cloud:spring-cloud-starter-openfeign:4.1.4")
39+
implementation("com.github.ben-manes.caffeine:caffeine:2.9.3")
40+
implementation("org.springframework.cloud:spring-cloud-starter-openfeign:4.3.0")
4141
implementation("org.springframework.boot:spring-boot-starter-websocket")
4242
implementation("io.github.resilience4j:resilience4j-spring-boot3")
4343
implementation("org.jetbrains.kotlin:kotlin-reflect")
44-
implementation("com.fasterxml.jackson.core:jackson-annotations:2.17.1")
45-
implementation("com.expediagroup:graphql-kotlin-spring-client:8.3.0")
46-
developmentOnly("io.netty:netty-resolver-dns-native-macos:4.1.85.Final") {
44+
implementation("com.fasterxml.jackson.core:jackson-annotations:2.20")
45+
implementation("com.expediagroup:graphql-kotlin-spring-client:8.8.1")
46+
developmentOnly("io.netty:netty-resolver-dns-native-macos:4.2.7.Final") {
4747
artifact {
4848
classifier = "osx-aarch_64"
4949
}
5050
}
5151

5252
// Dependencies for generating JWT token
53-
implementation("io.jsonwebtoken:jjwt-impl:0.11.2")
54-
implementation("io.jsonwebtoken:jjwt-jackson:0.11.2")
53+
implementation("io.jsonwebtoken:jjwt-impl:0.13.0")
54+
implementation("io.jsonwebtoken:jjwt-jackson:0.13.0")
5555

5656
testImplementation("org.springframework.boot:spring-boot-starter-test")
5757
testImplementation("com.ninja-squad:springmockk:4.0.2"){
@@ -83,7 +83,7 @@ detekt {
8383
parallel = true
8484
buildUponDefaultConfig = true
8585
dependencies {
86-
detektPlugins("io.gitlab.arturbosch.detekt:detekt-formatting:1.23.7")
86+
detektPlugins("io.gitlab.arturbosch.detekt:detekt-formatting:1.23.8")
8787
}
8888
}
8989

gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.8-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.3-bin.zip
44
networkTimeout=10000
55
validateDistributionUrl=true
66
zipStoreBase=GRADLE_USER_HOME

src/main/kotlin/net/leanix/githubagent/services/WebhookEventService.kt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,9 @@ class WebhookEventService(
135135
defaultBranch: String?
136136
) {
137137
val location = getManifestFileLocation(manifestFilePath)
138-
logger.info("Manifest file ${ManifestFileAction.REMOVED} from repository $repositoryFullName under $location")
138+
logger.info(
139+
" Manifest file ${ManifestFileAction.REMOVED} from repository $repositoryFullName under $location"
140+
)
139141
webSocketService.sendMessage(
140142
"/events/manifestFile",
141143
ManifestFileUpdateDto(

0 commit comments

Comments
 (0)