Skip to content

Commit bdec053

Browse files
committed
DISABLE_MAVEN_DEPENDENCY_SUBMISSION variable for build_maven_package.yml
Upgraded build_maven_package workflow to version 1.0.1 As a fix to : advanced-security/maven-dependency-submission-action#65 As 'advanced-security/maven-dependency-submission-action' is an optional step, now it is possible to skip it with a variable (I set it on account level, so all my workflows are affected)
1 parent 7b53ae4 commit bdec053

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.github/workflows/build_maven_package.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# CI with maven build and scan
22
#
3-
# version 1.0.0
3+
# version 1.0.1
44
#
55
# see : https://universe.fugerit.org/src/docs/conventions/workflows/build_maven_package.html
66

@@ -67,4 +67,6 @@ jobs:
6767

6868
# Optional: Uploads the full dependency graph to GitHub to improve the quality of Dependabot alerts this repository can receive
6969
- name: Update dependency graph
70-
uses: advanced-security/maven-dependency-submission-action@v4.0.0
70+
# if DISABLE_MAVEN_DEPENDENCY_SUBMISSION is set to true, skip this step
71+
if: ${{ vars.DISABLE_MAVEN_DEPENDENCY_SUBMISSION != 'true' }}
72+
uses: advanced-security/maven-dependency-submission-action@main

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
99

1010
### Changed
1111

12+
- Upgraded build_maven_package workflow to version 1.0.1, (accespt DISABLE_MAVEN_DEPENDENCY_SUBMISSION)
1213
- [Workflow review and transition to node 20](https://github.com/fugerit-org/fj-universe/issues/29)
1314

1415
## [0.4.2] - 2023-11-24

0 commit comments

Comments
 (0)