Skip to content

Commit acb598e

Browse files
authored
Pin actions for immutable and secure dependency versions (#175)
Pin dependency actions per security best practices. https://github.blog/changelog/2025-08-15-github-actions-policy-now-supports-blocking-and-sha-pinning-actions
1 parent 23602f4 commit acb598e

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

action.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ runs:
8181

8282
- id: load-cache
8383
if: ${{ env.CACHE_KEY }}
84-
uses: actions/cache/restore@v4
84+
uses: actions/cache/restore@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
8585
with:
8686
path: ~/cache-apt-pkgs
8787
key: cache-apt-pkgs_${{ env.CACHE_KEY }}
@@ -110,14 +110,14 @@ runs:
110110

111111
- id: upload-logs
112112
if: ${{ env.CACHE_KEY && inputs.debug == 'true' }}
113-
uses: actions/upload-artifact@v4
113+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
114114
with:
115115
name: cache-apt-pkgs-logs_${{ env.CACHE_KEY }}
116116
path: ~/cache-apt-pkgs/*.log
117117

118118
- id: save-cache
119119
if: ${{ env.CACHE_KEY && ! steps.load-cache.outputs.cache-hit }}
120-
uses: actions/cache/save@v4
120+
uses: actions/cache/save@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
121121
with:
122122
path: ~/cache-apt-pkgs
123123
key: ${{ steps.load-cache.outputs.cache-primary-key }}

0 commit comments

Comments
 (0)