461 add contract definition page to the api wrapper #611
Workflow file for this run
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: Trivy License Scan | |
on: | |
pull_request: | |
branches: ["main"] | |
jobs: | |
license_scan: | |
name: license_scan | |
runs-on: ubuntu-latest | |
timeout-minutes: 30 | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Run license scanner | |
uses: aquasecurity/trivy-action@master | |
with: | |
scan-type: "rootfs" | |
scan-ref: "." | |
scanners: "license" | |
severity: "CRITICAL,HIGH" | |
exit-code: 1 |