🤖 TEST: Disable HibernateORMTransactionTest junit test due to mockito… #40
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Snyk Vulnerability Scan | |
on: | |
push: | |
branches: | |
- master | |
- main | |
- development | |
- release/** | |
workflow_dispatch: | |
# Reusable workflow : Usually called by a `snapshot` workflow | |
workflow_call: | |
jobs: | |
scan: | |
name: Run Vulnerability Scan with Snyk | |
runs-on: ubuntu-latest | |
if: "!contains(github.event.head_commit.message, '[ci skip]')" | |
steps: | |
- uses: actions/checkout@master | |
- name: Run Snyk to check for vulnerabilities | |
uses: snyk/actions/maven-3-jdk-11@master | |
continue-on-error: true # To make sure that SARIF upload gets called | |
env: | |
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }} | |
with: | |
args: --sarif-file-output=snyk.sarif | |
- name: Upload result to GitHub Code Scanning | |
uses: github/codeql-action/upload-sarif@v3 | |
with: | |
sarif_file: snyk.sarif |