This repository was archived by the owner on Aug 28, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +21
-5
lines changed Expand file tree Collapse file tree 1 file changed +21
-5
lines changed Original file line number Diff line number Diff line change @@ -4,8 +4,6 @@ name: QA🚦
4
4
on :
5
5
pull_request : {}
6
6
push :
7
- paths-ignore :
8
- - ' .github/**'
9
7
branches :
10
8
- main
11
9
@@ -14,12 +12,30 @@ jobs:
14
12
name : ' Build test container'
15
13
runs-on : ubuntu-latest
16
14
permissions :
15
+ actions : read
17
16
contents : read
17
+ security-events : write
18
18
steps :
19
- - uses : voxpupuli/gha-build-and-publish-a-container@v2
19
+ - name : Checkout repository
20
+ uses : actions/checkout@v4
21
+
22
+ - name : Build Docker image
23
+ uses : docker/build-push-action@v5
24
+ with :
25
+ tags : ' ci/pdc:${{ github.sha }}'
26
+ push : false
27
+
28
+ - name : Run Trivy vulnerability scanner
29
+ uses : aquasecurity/trivy-action@master
30
+ with :
31
+ image-ref : ' ci/pdc:${{ github.sha }}'
32
+ format : ' sarif'
33
+ output : ' trivy-results.sarif'
34
+
35
+ - name : Upload Trivy scan results to GitHub Security tab
36
+ uses : github/codeql-action/upload-sarif@v3
20
37
with :
21
- registry_password : ${{ secrets.GITHUB_TOKEN }}
22
- publish : ' false'
38
+ sarif_file : ' trivy-results.sarif'
23
39
24
40
test_gem_installation :
25
41
runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments