From 596e0d83f9f398c007245b3ae8b75f018a8cd666 Mon Sep 17 00:00:00 2001 From: suckatrash Date: Mon, 2 May 2022 13:46:21 -0700 Subject: [PATCH] (DIO-3134) Scan repo with Snyk --- .github/workflows/snyk_scan.yaml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/snyk_scan.yaml diff --git a/.github/workflows/snyk_scan.yaml b/.github/workflows/snyk_scan.yaml new file mode 100644 index 0000000..a83b827 --- /dev/null +++ b/.github/workflows/snyk_scan.yaml @@ -0,0 +1,23 @@ +name: Snyk Scan +on: + workflow_dispatch: + push: + branches: + - master +jobs: + security: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@master + - name: setup ruby + uses: ruby/setup-ruby@v1 + with: + ruby-version: 2.7 + - name: create lock + run: bundle lock + - name: Run Snyk to check for vulnerabilities + uses: snyk/actions/ruby@master + env: + SNYK_TOKEN: ${{ secrets.SNYK_DIO_KEY }} + with: + command: monitor \ No newline at end of file