diff --git a/.github/workflows/agent-files-detect.yaml b/.github/workflows/agent-files-detect.yaml index 1980cd825..19db2be1f 100644 --- a/.github/workflows/agent-files-detect.yaml +++ b/.github/workflows/agent-files-detect.yaml @@ -90,7 +90,7 @@ jobs: run: echo "${PROTECTED_CHANGED}" > /tmp/agent-check-result.txt - name: Upload detection result - uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 + uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 with: name: agent-check-result path: /tmp/agent-check-result.txt diff --git a/.github/workflows/agent-files-enforce.yaml b/.github/workflows/agent-files-enforce.yaml index ddbfa4b23..6c3681c3c 100644 --- a/.github/workflows/agent-files-enforce.yaml +++ b/.github/workflows/agent-files-enforce.yaml @@ -78,7 +78,7 @@ jobs: - name: Download detection artifact id: download continue-on-error: true - uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0 + uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1 with: name: agent-check-result run-id: ${{ github.event.workflow_run.id }}