deps(deps-dev): bump org.junit.jupiter:junit-jupiter-api from 5.14.2 to 6.0.3 #56
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: Dependency and Security Checks | |
| on: | |
| pull_request: | |
| types: [opened, synchronize, reopened] | |
| pull_request_target: | |
| types: [opened, synchronize, reopened] | |
| jobs: | |
| dependency-check: | |
| name: Dependency Vulnerability Scan | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Set up JDK 11 | |
| uses: actions/setup-java@v4 | |
| with: | |
| java-version: '11' | |
| distribution: 'temurin' | |
| cache: maven | |
| - name: Run OWASP Dependency Check | |
| run: | | |
| mvn org.owasp:dependency-check-maven:check -DfailBuildOnCVSS=7 | |
| continue-on-error: true | |
| - name: Upload dependency check report | |
| if: always() | |
| uses: actions/upload-artifact@v6 | |
| with: | |
| name: dependency-check-report | |
| path: target/dependency-check-report.html | |
| dependabot-auto-merge: | |
| name: Auto-merge Dependabot PRs | |
| runs-on: ubuntu-latest | |
| if: github.actor == 'dependabot[bot]' | |
| steps: | |
| - name: Dependabot metadata | |
| id: metadata | |
| uses: dependabot/fetch-metadata@v2 | |
| with: | |
| github-token: "${{ secrets.GITHUB_TOKEN }}" | |
| - name: Auto-merge minor updates | |
| if: contains(steps.metadata.outputs.dependency-type, 'direct') && steps.metadata.outputs.update-type == 'version-update:semver-minor' | |
| run: gh pr merge --auto --merge "$PR_URL" | |
| env: | |
| PR_URL: ${{github.event.pull_request.html_url}} | |
| GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} |