Skip to content

Merge pull request #27 from leoparente/dependabot/go_modules/github.c… #21

Merge pull request #27 from leoparente/dependabot/go_modules/github.c…

Merge pull request #27 from leoparente/dependabot/go_modules/github.c… #21

Workflow file for this run

name: Security Workflow
on:
push:
branches: [ main ]
jobs:
snyk:
name: SCA Scan
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: get otelcol-contrib
run: make getotelcol
- name: Run Snyk to check for vulnerabilities
uses: snyk/actions/golang@master
continue-on-error: true # To make sure that SARIF upload gets called
env:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
with:
args: --sarif-file-output=snyk.sarif
- name: Upload result to GitHub Code Scanning
uses: github/codeql-action/upload-sarif@v2
with:
sarif_file: snyk.sarif