Add GEM path for Jekyll on some systems #1539
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: "OWASP Security Scans" | |
on: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
branches: [ "master" ] | |
workflow_dispatch: | |
jobs: | |
analyze: | |
name: Analyze | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- run: | | |
mvn -DskipTests install -P OWASP_CHECK | |
- run: | | |
mvn -DskipTests dependency-check:aggregate -P OWASP_CHECK | |
- name: Upload SARIF file | |
uses: github/codeql-action/upload-sarif@v3 | |
with: | |
# Path to SARIF file relative to the root of the repository | |
sarif_file: target/dependency-check-report.sarif | |
# Optional category for the results | |
# Used to differentiate multiple results for one commit | |
category: OWASP-dependency-check | |