fix close for players #15
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: VirusTotal | |
on: | |
push: | |
branches: | |
- master | |
paths: | |
- 'inlineviewer.js' | |
- 'templates/inlineViewer.html' | |
workflow_dispatch: | |
jobs: | |
scan: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: VirusTotal Scan | |
id: virustotal-scan | |
uses: crazy-max/ghaction-virustotal@v2 | |
with: | |
vt_api_key: ${{ secrets.VT_API_KEY }} | |
files: | | |
./inlineviewer.js | |
./templates/inlineViewer.html | |
- name: Replace Readme | |
shell: bash | |
run: node ./.github/workflows/replace-url.js | |
env: | |
RESULTS: ${{ steps.virustotal-scan.outputs.analysis }} | |
- name: Git Commit and Push | |
uses: github-actions-x/[email protected] | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
push-branch: 'master' | |
commit-message: 'Update VirusTotal links' | |
force-add: 'true' | |
files: README.md | |
name: GitHub Actions | |
email: [email protected] |