mirror of
https://github.com/valitydev/java-workflow.git
synced 2024-11-06 01:25:18 +00:00
Simple Dependency Review gh action #43
Simple Dependency Review gh action
This commit is contained in:
commit
b4c071e3dd
13
.github/workflows/maven-library-build.yml
vendored
13
.github/workflows/maven-library-build.yml
vendored
@ -67,3 +67,16 @@ jobs:
|
||||
|
||||
- name: Upload code coverage
|
||||
uses: codecov/codecov-action@v3
|
||||
|
||||
dependency-check:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: 'Checkout Repository'
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Dependency Review
|
||||
uses: actions/dependency-review-action@v3
|
||||
with:
|
||||
fail-on-severity: critical
|
||||
vulnerability-check: true
|
||||
comment-summary-in-pr: true
|
||||
|
13
.github/workflows/maven-service-build.yml
vendored
13
.github/workflows/maven-service-build.yml
vendored
@ -53,3 +53,16 @@ jobs:
|
||||
|
||||
- name: Upload code coverage
|
||||
uses: codecov/codecov-action@v3
|
||||
|
||||
dependency-check:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: 'Checkout Repository'
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Dependency Review
|
||||
uses: actions/dependency-review-action@v3
|
||||
with:
|
||||
fail-on-severity: critical
|
||||
vulnerability-check: true
|
||||
comment-summary-in-pr: true
|
||||
|
13
.github/workflows/maven-swag-build.yml
vendored
13
.github/workflows/maven-swag-build.yml
vendored
@ -52,3 +52,16 @@ jobs:
|
||||
|
||||
- name: Build client jar
|
||||
run: mvn --batch-mode clean package -f pom.xml -P="client"
|
||||
|
||||
dependency-check:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: 'Checkout Repository'
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Dependency Review
|
||||
uses: actions/dependency-review-action@v3
|
||||
with:
|
||||
fail-on-severity: critical
|
||||
vulnerability-check: true
|
||||
comment-summary-in-pr: true
|
||||
|
13
.github/workflows/maven-thrift-build.yml
vendored
13
.github/workflows/maven-thrift-build.yml
vendored
@ -37,3 +37,16 @@ jobs:
|
||||
id: commit_info
|
||||
- name: Build package
|
||||
run: mvn --batch-mode -Dcommit.number=${{ steps.commit_info.outputs.COMMIT_NUMBER }} -Drevision="1.${{ steps.commit_info.outputs.COMMIT_NUMBER }}-${{ steps.commit_info.outputs.SHA_7 }}" clean compile -f pom.xml
|
||||
|
||||
dependency-check:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: 'Checkout Repository'
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Dependency Review
|
||||
uses: actions/dependency-review-action@v3
|
||||
with:
|
||||
fail-on-severity: critical
|
||||
vulnerability-check: true
|
||||
comment-summary-in-pr: true
|
||||
|
Loading…
Reference in New Issue
Block a user