Vatsal Gupta commited on
Commit
86b03a9
·
unverified ·
1 Parent(s): 2f532d3

Update Trivy scan workflow to use @master (#264)

Browse files

* Update Trivy scan workflow to use @master

* Add top-level permissions to satisfy Codacy check

* Pin Trivy workflow reference to commit SHA for SonarCloud compliance

Files changed (1) hide show
  1. .github/workflows/trivy-scan.yaml +12 -0
.github/workflows/trivy-scan.yaml ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ name: Trivy Scan
2
+ on:
3
+ pull_request:
4
+ push:
5
+ branches: ["master", "main"]
6
+ permissions:
7
+ contents: read
8
+ jobs:
9
+ trivy-scan:
10
+ uses: gvatsal60/.github/.github/workflows/trivy-scan.yaml@c75bcee46ecb94ecf49361b9d8a0911708d30ca9
11
+ with:
12
+ dockerfile_exists: true