Skip to content

Commit

Permalink
use github action
Browse files Browse the repository at this point in the history
  • Loading branch information
htrgouvea committed Jan 26, 2024
1 parent ad4e393 commit f4542b7
Showing 1 changed file with 6 additions and 17 deletions.
23 changes: 6 additions & 17 deletions .github/workflows/zarn.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: ZARN
name: ZARN SAST

on:
push:
Expand All @@ -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
- uses: htrgouvea/[email protected]

0 comments on commit f4542b7

Please sign in to comment.