Commit 0252d60 1 parent 48bc20d commit 0252d60 Copy full SHA for 0252d60
File tree 2 files changed +2
-19
lines changed
2 files changed +2
-19
lines changed Original file line number Diff line number Diff line change 24
24
# This is used to complete the identity challenge
25
25
# with sigstore/fulcio when running outside of PRs.
26
26
id-token : write
27
- # To upload sarif files.
28
- security-events : write
29
-
30
27
steps :
31
28
- name : Checkout repository
32
29
uses : actions/checkout@v4
82
79
# This step uses the identity token to provision an ephemeral certificate
83
80
# against the sigstore community Fulcio instance.
84
81
run : echo "${TAGS}" | xargs -I {} cosign sign --yes {}@${DIGEST}
85
-
86
- # Analyze vulnerabilities.
87
- - name : Run Trivy vulnerability scanner
88
- if : ${{ github.event_name != 'pull_request' }}
89
- uses : aquasecurity/trivy-action@fbd16365eb88e12433951383f5e99bd901fc618f # v0.12.0
90
- with :
91
- image-ref : ${{ steps.meta.outputs.tags }}
92
- format : " sarif"
93
- output : " trivy-results.sarif"
94
-
95
- # Upload report to GitHub code scanning.
96
- - name : Upload Trivy scan results to GitHub Security tab
97
- if : ${{ github.event_name != 'pull_request' }}
98
- uses : github/codeql-action/upload-sarif@v2
99
- with :
100
- sarif_file : " trivy-results.sarif"
Original file line number Diff line number Diff line change
1
+ default : build
2
+
1
3
run_app :
2
4
go run cmd/deadnews-template-go/main.go
3
5
You can’t perform that action at this time.
0 commit comments