We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2f71826 commit e376178Copy full SHA for e376178
.github/workflows/security-review.yml
@@ -0,0 +1,34 @@
1
+name: Security Review
2
+
3
+on:
4
+ schedule:
5
+ # Tuesday and Friday at 2:00 UTC
6
+ - cron: '0 2 * * 2,5'
7
+ workflow_dispatch:
8
9
+jobs:
10
+ security-review:
11
+ runs-on: ubuntu-latest
12
+ timeout-minutes: 30
13
+ permissions:
14
+ contents: read
15
+ security-events: write
16
+ actions: read
17
+ steps:
18
+ - name: Checkout
19
+ uses: actions/checkout@v4
20
21
+ - name: Run Trivy security scanner
22
+ uses: aquasecurity/trivy-action@master
23
+ with:
24
+ scan-type: 'fs'
25
+ scan-ref: '.'
26
+ format: 'sarif'
27
+ output: 'trivy-results.sarif'
28
29
+ - name: Upload Trivy results to GitHub Security tab
30
+ uses: github/codeql-action/upload-sarif@v3
31
+ if: always()
32
33
+ sarif_file: 'trivy-results.sarif'
34
0 commit comments