Skip to content

Commit a0d13f3

Browse files
committed
fix(clamAV): Setup ClamAV configuration
1 parent 94b3e25 commit a0d13f3

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.github/workflows/gitavscan.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,18 @@ jobs:
2424
- name: Checkout
2525
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2626

27+
- name: Setup ClamAV configuration
28+
run: |
29+
sudo mkdir -p /etc/clamav
30+
echo 'TCPSocket 3310
31+
TCPAddr 127.0.0.1
32+
LocalSocket /var/run/clamav/clamd.sock
33+
User clamav
34+
LogFile /var/log/clamav/clamav.log
35+
LogTime yes
36+
LogVerbose yes
37+
PidFile /var/run/clamav/clamd.pid' | sudo tee /etc/clamav/clamd.conf
38+
sudo chmod 644 /etc/clamav/clamd.conf
39+
2740
- name: Git AV Scan
2841
uses: djdefi/gitavscan@311078fe93aa76dca5b93aa3fed1d05f057e13a0 # main

0 commit comments

Comments
 (0)