Report Security Issues for Repository #1282
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
# Generated by Project Keeper | |
# https://github.com/exasol/project-keeper/blob/main/project-keeper/src/main/resources/templates/.github/workflows/dependencies_check.yml | |
name: Report Security Issues for Repository | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: "0 2 * * *" | |
jobs: | |
report_security_issues: | |
runs-on: ubuntu-latest | |
permissions: | |
issues: write | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up JDKs | |
uses: actions/setup-java@v4 | |
with: | |
distribution: "temurin" | |
java-version: | | |
11 | |
17 | |
cache: "maven" | |
- name: Generate ossindex report | |
run: | | |
mvn org.sonatype.ossindex.maven:ossindex-maven-plugin:audit \ | |
org.sonatype.ossindex.maven:ossindex-maven-plugin:audit-aggregate \ | |
-Dossindex.reportFile=$(pwd)/ossindex-report.json \ | |
-Dossindex.fail=false | |
- name: Report Security Issues | |
uses: exasol/python-toolbox/.github/actions/security-issues@main | |
with: | |
format: "maven" | |
command: "cat ossindex-report.json" | |
github-token: ${{ secrets.GITHUB_TOKEN }} |