diff --git a/.github/workflows/zarn.yml b/.github/workflows/zarn.yml new file mode 100644 index 0000000..f66840c --- /dev/null +++ b/.github/workflows/zarn.yml @@ -0,0 +1,25 @@ +name: ZARN + +on: + pull_request: + branches: + - main + - develop + +jobs: + build: + runs-on: ubuntu-latest + + 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: | + perl zarn/zarn.pl --source . --sarif zarn.sarif + - uses: github/codeql-action/upload-sarif@v3 + with: + sarif_file: zarn.sarif \ No newline at end of file