Skip to content

Commit

Permalink
Implement Synopsys Scan (#22)
Browse files Browse the repository at this point in the history
  • Loading branch information
tuxtof authored May 6, 2022
1 parent 4014f25 commit 4eab785
Showing 1 changed file with 31 additions and 0 deletions.
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 }}

0 comments on commit 4eab785

Please sign in to comment.