From 07b3e710cca9644c9510448aafb6114b25dae0a7 Mon Sep 17 00:00:00 2001
From: Thorben Lindhauer <thorben.lindhauer@camunda.com>
Date: Thu, 28 Sep 2023 17:38:34 +0200
Subject: [PATCH] chore(project): add new dependency check workflow

related to camunda/camunda-bpm-platform#2781
---
 commons/.github/workflows/java-dependency-check.yml | 13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 commons/.github/workflows/java-dependency-check.yml

diff --git a/commons/.github/workflows/java-dependency-check.yml b/commons/.github/workflows/java-dependency-check.yml
new file mode 100644
index 00000000000..50885166529
--- /dev/null
+++ b/commons/.github/workflows/java-dependency-check.yml
@@ -0,0 +1,13 @@
+name: Java Dependency Check
+
+on:
+  pull_request:
+    types: [ labeled ]
+
+jobs:
+  call-reusable-flow:
+    uses: camunda/automation-platform-github-actions/.github/workflows/java-dependency-check.yml@main
+    if: ${{ github.event.label.name == 'bot:java-dependency-check' }}
+    with:
+      ref: main
+    secrets: inherit