Open simeononsecurity opened 1 year ago
I have the opposite problem @crazy-max 😁
The following will not work as expected (.exe$
is taken from the README) and instead show the No files were found. Please check the 'files' input.
warning:
jobs:
virustotal:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- run: ls -l *.exe
- name: VirusTotal Scan
uses: crazy-max/ghaction-virustotal@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
vt_api_key: ${{ secrets.VIRUSTOTAL_TOKEN }}
files: |
.exe$
The following instead will correctly upload the .exe
file to VirusTotal as expected:
jobs:
virustotal:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- run: ls -l *.exe
- name: VirusTotal Scan
uses: crazy-max/ghaction-virustotal@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
vt_api_key: ${{ secrets.VIRUSTOTAL_TOKEN }}
files: |
*.exe
In conclusion glob patterns seem to work, while regex don't (?), event hough the documentation clearly suggests to use regexes.
I've tried multiple ways, including the exampled methods to no avail. It doesn't work.
Also have tried
As well as
Also tried passing it in using a var or text file.