We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 69140d6 commit 8a574f6Copy full SHA for 8a574f6
.github/workflows/virustotal.yml
@@ -13,6 +13,16 @@ jobs:
13
name: Scan Release Assets
14
runs-on: ubuntu-latest
15
steps:
16
+ - name: Get latest release ID
17
+ if: github.event_name == 'workflow_dispatch'
18
+ id: release
19
+ env:
20
+ GH_TOKEN: ${{ github.token }}
21
+ run: |
22
+ RELEASE_ID=$(gh api repos/${{ github.repository }}/releases/latest --jq '.id')
23
+ echo "id=$RELEASE_ID" >> "$GITHUB_OUTPUT"
24
+
25
- uses: cssnr/virustotal-action@v1
26
with:
27
vt_api_key: ${{ secrets.VT_API_KEY }}
28
+ release_id: ${{ steps.release.outputs.id || '' }}
0 commit comments