Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create SynopsysDetect.yml #294

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 36 additions & 0 deletions .github/workflows/SynopsysDetect.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@

name: Synopsys Security Testing

on:
push:
branches: [ master, main ]

pull_request:
branches: [ master, main ]

jobs:
build:
runs-on: [self-hosted]
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Synopsys Action
uses: synopsys-sig/[email protected]
with:
blackduck_apiToken: ${{ secrets.BLACKDUCK_API_TOKEN }}
blackduck_url: ${{ secrets.BLACKDUCK_URL }}

# Optional parameter. By default, pushes will initiate a full "intelligent" scan and pull requests
# will initiate a rapid scan.
blackduck_scan_full: false
# Required parameter if blackduck_automation_fixpr is enabled
# Make sure GITHUB_TOKEN have appropriate permissions
github_token: ${{ secrets.GITHUB_TOKEN }}
# Optional parameter. By default, create fix pull requests if vulnerabilities are reported
# Passing false will disable fix pull request creation
blackduck_automation_fixpr: true
# Optional parameter. The values could be. ALL|NONE|BLOCKER|CRITICAL|MAJOR|MINOR|OK|TRIVIAL|UNSPECIFIED
# Single parameter
blackduck_scan_failure_severities: "ALL"
# multiple parameters
# blackduck_scan_failure_severities: "BLOCKER,CRITICAL,TRIVIAL"