From 83af48c6e788ad885ee1520c31330b45c5e0c4c1 Mon Sep 17 00:00:00 2001 From: Paul Boocock Date: Fri, 17 Jul 2020 14:04:04 +0100 Subject: [PATCH] Add Snyk Integration (closes #154) --- .github/workflows/snyk.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/snyk.yml diff --git a/.github/workflows/snyk.yml b/.github/workflows/snyk.yml new file mode 100644 index 0000000..6a0c814 --- /dev/null +++ b/.github/workflows/snyk.yml @@ -0,0 +1,21 @@ + +name: Snyk + +on: + push: + branches: [ master ] + +jobs: + security: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + + - name: Run Snyk to check for vulnerabilities + uses: snyk/actions/golang@master + with: + command: monitor + args: --project-name=sql-runner + env: + SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }} \ No newline at end of file