Skip to content

Commit 1eac16e

Browse files
authored
chore: add unmanaged dependency check (#1380)
* chore: add unmanaged dependency check * change renovate config
1 parent a6cc915 commit 1eac16e

2 files changed

Lines changed: 28 additions & 0 deletions

File tree

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
on:
2+
pull_request:
3+
name: Unmanaged dependency check
4+
jobs:
5+
unmanaged_dependency_check:
6+
runs-on: ubuntu-latest
7+
steps:
8+
- uses: actions/checkout@v4
9+
- uses: actions/setup-java@v4
10+
with:
11+
distribution: temurin
12+
java-version: 11
13+
- name: Install modules
14+
shell: bash
15+
run: .kokoro/build.sh
16+
- name: Unmanaged dependency check
17+
uses: googleapis/sdk-platform-java/java-shared-dependencies/unmanaged-dependency-check@google-cloud-shared-dependencies/v3.27.0
18+
with:
19+
bom-path: pom.xml

java-storage-nio/renovate.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,15 @@
2020
"matchStrings": ["value: \"gcr.io/cloud-devrel-public-resources/graalvm.*:(?<currentValue>.*?)\""],
2121
"depNameTemplate": "com.google.cloud:sdk-platform-java-config",
2222
"datasourceTemplate": "maven"
23+
},
24+
{
25+
"customType": "regex",
26+
"fileMatch": [
27+
"^.github/workflows/unmanaged_dependency_check.yaml$"
28+
],
29+
"matchStrings": ["uses: googleapis/sdk-platform-java/java-shared-dependencies/unmanaged-dependency-check@google-cloud-shared-dependencies/v(?<currentValue>.+?)\\n"],
30+
"depNameTemplate": "com.google.cloud:sdk-platform-java-config",
31+
"datasourceTemplate": "maven"
2332
}
2433
],
2534
"packageRules": [

0 commit comments

Comments
 (0)