From c83b7e3c94606b805efc76e791fd2cf1242f6a0a Mon Sep 17 00:00:00 2001 From: Anix Date: Sun, 23 Feb 2020 01:36:58 +0530 Subject: [PATCH] chore(CI): added snyk action (#1030) --- .github/workflows/Security.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/Security.yml diff --git a/.github/workflows/Security.yml b/.github/workflows/Security.yml new file mode 100644 index 000000000..5e65174c2 --- /dev/null +++ b/.github/workflows/Security.yml @@ -0,0 +1,20 @@ +name: Security Flow + +on: + push: + branches: + - master + - develop + pull_request: + branches: + - master + - develop +jobs: + security: + runs-on: ubuntu-16.04 + steps: + - uses: actions/checkout@master + - name: Run Snyk to check for vulnerabilities + uses: snyk/actions/node@master + env: + SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}