From 8892e0f2dde771a3c2412459078519dde4d4a0fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Heitor=20Gouv=C3=AAa?= Date: Fri, 26 Jan 2024 09:19:48 -0300 Subject: [PATCH] Add Zarn and updates seeds email (#15) * create * more seeds * add zarn to the project * add linter and fix the sast * use github action --- .github/workflows/zarn.yml | 23 ++++++----------------- 1 file changed, 6 insertions(+), 17 deletions(-) diff --git a/.github/workflows/zarn.yml b/.github/workflows/zarn.yml index f552764..31e79c8 100644 --- a/.github/workflows/zarn.yml +++ b/.github/workflows/zarn.yml @@ -1,4 +1,4 @@ -name: ZARN +name: ZARN SAST on: push: @@ -7,21 +7,10 @@ on: branches: [ "main" ] schedule: - cron: '28 23 * * 1' - + jobs: - build: - runs-on: ubuntu-latest - + zarn: + name: Security Static Analaysis with ZARN + runs-on: ubuntu-20.04 steps: - - uses: actions/checkout@v4 - - name: Install dependencies - run: | - git clone https://github.com/htrgouvea/zarn - sudo apt install -y perl cpanminus - cd zarn && sudo cpanm --installdeps . - - name: Hunt for findings - run: | - cd zarn && perl zarn.pl --source ../ --sarif ../zarn.sarif - - uses: github/codeql-action/upload-sarif@v3 - with: - sarif_file: zarn.sarif \ No newline at end of file + - uses: htrgouvea/zarn@0.1.0 \ No newline at end of file