Skip to content

Commit 3e45a6f

Browse files
committed
chore: trigger advanced-security/maven-dependency-submission-action only if enabled
1 parent 9dd967b commit 3e45a6f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build_maven_package.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,6 @@ jobs:
7373

7474
# Optional: Uploads the full dependency graph to GitHub to improve the quality of Dependabot alerts this repository can receive
7575
- name: Update dependency graph
76-
# if DISABLE_MAVEN_DEPENDENCY_SUBMISSION is set to true, skip this step
77-
if: ${{ vars.DISABLE_MAVEN_DEPENDENCY_SUBMISSION != 'true' }}
76+
# if ENABLE_MAVEN_DEPENDENCY_SUBMISSION is set to true, run this step
77+
if: ${{ vars.ENABLE_MAVEN_DEPENDENCY_SUBMISSION == 'true' }}
7878
uses: advanced-security/maven-dependency-submission-action@main

0 commit comments

Comments
 (0)