🔐 Security Checks #5
This file contains hidden or 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: 🔐 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 |