Comments (1)
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.
from ghaction-virustotal.
Related Issues (14)
- Add release id input to include step in release workflow rather than adding a secondary workflow
- Create markdown output HOT 1
- Only few releases are picked. HOT 1
- Axios limits max file size with VirusTotal Monitor HOT 5
- AxiosError code 401 HOT 2
- Release asset not found when triggered from release event HOT 2
- Feature Request: Badges for Readme
- Cannot download release asset (Not Found) HOT 1
- Action fails to run - Invalid regular expression: /*.exe/: Nothing to repeat HOT 4
- Request body larger than maxBodyLength limit HOT 5
- Upload Larger Sizes
- Support VirusTotal API quota restrictions HOT 1
- Option to use cached hash results
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ghaction-virustotal.