[ROCm][CI] Use hash for download-artifact action instead of tag (#169217)

Security-related update

Hash chosen from https://github.com/actions/download-artifact/tree/v4.1.7

Pull Request resolved: https://github.com/pytorch/pytorch/pull/169217
Approved by: https://github.com/zxiiro, https://github.com/jeffdaily
This commit is contained in:
Jithun Nair
2025-11-28 15:49:28 +00:00
committed by PyTorch MergeBot
parent 6658a04c7c
commit b39813b4a0

View File

@@ -37,7 +37,7 @@ jobs:
pytorch-linux-jammy-rocm-n-py3-benchmarks: ${{ steps.process-artifacts.outputs.pytorch-linux-jammy-rocm-n-py3-benchmarks }}
steps:
- name: Download artifacts
uses: actions/download-artifact@v4.1.7
uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e #4.1.7
with:
run-id: ${{ github.event.workflow_run.id || github.event.inputs.run_id }}
path: ./docker-builds-artifacts