File tree Expand file tree Collapse file tree 1 file changed +33
-0
lines changed
Expand file tree Collapse file tree 1 file changed +33
-0
lines changed Original file line number Diff line number Diff line change 1+ # A sample workflow which checks out your Infrastructure as Code Configuration files,
2+ # such as Kubernetes, Helm & Terraform and scans them for any security issues.
3+ # The results are then uploaded to GitHub Security Code Scanning
4+ #
5+ # For more examples, including how to limit scans to only high-severity issues
6+ # and fail PR checks, see https://github.com/snyk/actions/
7+
8+ name : Snyk Ruby
9+
10+ on :
11+ push :
12+ branches : [ master ]
13+ pull_request :
14+ # The branches below must be a subset of the branches above
15+ branches : [ master ]
16+ schedule :
17+ - cron : ' 0 0 * * 0'
18+
19+ jobs :
20+ snyk :
21+ runs-on : ubuntu-latest
22+ steps :
23+ - uses : actions/checkout@v2
24+ - name : Run Snyk to check configuration files for security issues
25+ # Snyk can be used to break the build when it detects security issues.
26+ # In this case we want to upload the issues to GitHub Code Scanning
27+ continue-on-error : true
28+ uses : snyk/actions/ruby@master
29+ env :
30+ # In order to use the Snyk Action you will need to have a Snyk API token.
31+ # More details in https://github.com/snyk/actions#getting-your-snyk-token
32+ # or you can signup for free at https://snyk.io/login
33+ SNYK_TOKEN : ${{ secrets.SNYK_TOKEN }}
You can’t perform that action at this time.
0 commit comments