@@ -16,10 +16,10 @@ jobs:
1616
1717 steps :
1818 - name : Checkout
19- uses : actions/checkout@v4
19+ uses : actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
2020
2121 - name : Setup PHP 8.3 (no Docker)
22- uses : shivammathur/setup-php@v2
22+ uses : shivammathur/setup-php@f3e473d116dcccaddc5834248c87452386958240 # 2.37.2
2323 with :
2424 php-version : ' 8.3'
2525 coverage : none
@@ -53,15 +53,15 @@ jobs:
5353
5454 - name : Upload quality gate report
5555 if : always()
56- uses : actions/upload-artifact@v4
56+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
5757 with :
5858 name : security-quality-gate
5959 path : security/reports/quality-gate.json
6060 if-no-files-found : ignore
6161
6262 - name : Upload hardening gate report
6363 if : always()
64- uses : actions/upload-artifact@v4
64+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
6565 with :
6666 name : security-hardening-gate
6767 path : security/reports/hardening-gate.json
7272
7373 steps :
7474 - name : Checkout
75- uses : actions/checkout@v4
75+ uses : actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
7676
7777 - name : Run Semgrep (SAST)
7878 run : |
9191
9292 - name : Upload Gitleaks report
9393 if : always()
94- uses : actions/upload-artifact@v4
94+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
9595 with :
9696 name : security-gitleaks
9797 path : security/reports/gitleaks-report.json
@@ -105,15 +105,15 @@ jobs:
105105
106106 - name : Upload Semgrep SARIF
107107 if : always()
108- uses : actions/upload-artifact@v4
108+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
109109 with :
110110 name : security-semgrep
111111 path : security/reports/semgrep.sarif
112112 if-no-files-found : ignore
113113
114114 - name : Upload SBOM
115115 if : always()
116- uses : actions/upload-artifact@v4
116+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
117117 with :
118118 name : security-sbom
119119 path : security/reports/sbom.cyclonedx.json
0 commit comments