From 7f5ff3546c73e363d7a87ecbacac3f00dee9ca2f Mon Sep 17 00:00:00 2001 From: Boof <97455552+hexahigh@users.noreply.github.com> Date: Wed, 19 Apr 2023 12:22:05 +0200 Subject: [PATCH] Update clamscan.yml --- .github/workflows/clamscan.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/clamscan.yml b/.github/workflows/clamscan.yml index 3215fda..fab1524 100644 --- a/.github/workflows/clamscan.yml +++ b/.github/workflows/clamscan.yml @@ -12,9 +12,15 @@ on: jobs: build: + name: Scanning repo with clamav runs-on: ubuntu-latest steps: + - name: Downloading git repo + run: | + git clone --depth=1 --branch=main https://github.com/hexahigh/games.git repo + rm -rf ./repo/.git + - name: Installing run: | sudo apt update @@ -26,4 +32,4 @@ jobs: - name: Scanning run: | - sudo clamscan -i -r ./ + sudo clamscan -i -r ./repo