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

Implement Synopsys Scan #16

Merged
merged 1 commit into from
May 6, 2022
Merged
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
Create synopsys.yaml
  • Loading branch information
tuxtof authored May 6, 2022
commit 5e6164d62299d7ce0393f0907bd04504fe25064e
31 changes: 31 additions & 0 deletions .github/workflows/synopsys.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Black Duck Policy Check
on:
pull_request:
branches:
- main
schedule:
- cron: '0 0 * * *'
push:

jobs:
security:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2

- name: Setup Go
uses: actions/setup-go@v2
with:
go-version: '^1.17'

- name: Build Project
run: make build

- name: Run Synopsys Detect
uses: synopsys-sig/[email protected]
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
detect-version: 7.9.0
blackduck-url: ${{ secrets.BLACKDUCK_URL }}
blackduck-api-token: ${{ secrets.BLACKDUCK_API_TOKEN }}