|
1 | 1 | # SPDX-License-Identifier: PMPL-1.0-or-later |
| 2 | +permissions: read-all |
| 3 | + |
2 | 4 | name: CI |
3 | 5 |
|
4 | 6 | on: |
|
40 | 42 | has_docker: ${{ steps.detect.outputs.has_docker }} |
41 | 43 | steps: |
42 | 44 | - name: Checkout |
43 | | - uses: actions/checkout@v4 |
| 45 | + uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4 |
44 | 46 |
|
45 | 47 | - name: Make scripts executable |
46 | 48 | run: chmod +x ci-scripts/*.sh |
|
73 | 75 | needs: detect |
74 | 76 | steps: |
75 | 77 | - name: Checkout |
76 | | - uses: actions/checkout@v4 |
| 78 | + uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4 |
77 | 79 |
|
78 | 80 | - name: Setup Node.js |
79 | 81 | if: needs.detect.outputs.has_nodejs == 'true' |
@@ -127,7 +129,7 @@ jobs: |
127 | 129 | go-version: '1.22' |
128 | 130 | steps: |
129 | 131 | - name: Checkout |
130 | | - uses: actions/checkout@v4 |
| 132 | + uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4 |
131 | 133 |
|
132 | 134 | - name: Setup Node.js |
133 | 135 | if: needs.detect.outputs.has_nodejs == 'true' |
@@ -191,7 +193,7 @@ jobs: |
191 | 193 | needs: [detect, lint, test] |
192 | 194 | steps: |
193 | 195 | - name: Checkout |
194 | | - uses: actions/checkout@v4 |
| 196 | + uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4 |
195 | 197 |
|
196 | 198 | - name: Setup Node.js |
197 | 199 | if: needs.detect.outputs.has_nodejs == 'true' |
@@ -244,7 +246,7 @@ jobs: |
244 | 246 | if: github.event_name == 'push' && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/')) |
245 | 247 | steps: |
246 | 248 | - name: Checkout |
247 | | - uses: actions/checkout@v4 |
| 249 | + uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4 |
248 | 250 | with: |
249 | 251 | fetch-depth: 0 |
250 | 252 |
|
@@ -272,7 +274,7 @@ jobs: |
272 | 274 | if: needs.detect.outputs.has_docker == 'true' |
273 | 275 | steps: |
274 | 276 | - name: Checkout |
275 | | - uses: actions/checkout@v4 |
| 277 | + uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4 |
276 | 278 |
|
277 | 279 | - name: Set up Docker Buildx |
278 | 280 | uses: docker/setup-buildx-action@v3 |
@@ -317,7 +319,7 @@ jobs: |
317 | 319 | contents: write |
318 | 320 | steps: |
319 | 321 | - name: Checkout |
320 | | - uses: actions/checkout@v4 |
| 322 | + uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4 |
321 | 323 |
|
322 | 324 | - name: Download artifacts |
323 | 325 | uses: actions/download-artifact@v4 |
|
0 commit comments