Skip to content

🔐 Security Checks #5

🔐 Security Checks

🔐 Security Checks #5

Workflow file for this run

name: 🔐 Security Checks
on:
schedule:
- cron: "0 3 * * 1"
workflow_dispatch:
permissions:
contents: read
security-events: write
jobs:
dependency-check:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Setup JDK
uses: actions/setup-java@v5
with:
distribution: temurin
java-version: 25
cache: maven
- name: Build project
run: mvn -B -ntp -DskipTests clean package
- name: OWASP Dependency-Check (offline)
run: |
mvn -B -ntp org.owasp:dependency-check-maven:check \
-DskipTests \
-DfailBuildOnCVSS=7 \
-DautoUpdate=false
- name: Upload report
uses: actions/upload-artifact@v6
with:
name: dependency-check-report
path: target/dependency-check-report.html