Skip to content

Commit

Permalink
chore(CI): do not run job-id without docker CVEs
Browse files Browse the repository at this point in the history
  • Loading branch information
meysam81 committed Nov 6, 2024
1 parent d8221a1 commit 41549b1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -169,8 +169,9 @@ runs:
sarif-file: sarif.output.json
summary: true

- name: Create unique job identifier
id: job-id
- id: job-id
if: inputs.scout-cves == 'true'
name: Create unique job identifier
shell: bash
run: |
four_character_timestamp=$(date +%s | sha256sum | base64 | head -c 4)
Expand Down

0 comments on commit 41549b1

Please sign in to comment.