4141 functionsChanged : ${{ steps.filter.outputs.functions }}
4242 coreChanged : ${{ steps.filter.outputs.core }}
4343 steps :
44- - uses : actions/checkout@v6
45- - uses : dorny/paths-filter@v3
44+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
45+ - uses : dorny/paths-filter@d1c1ffe0248fe513906c8e24db8ea791d46f8590 # v3
4646 id : filter
4747 with :
4848 filters : |
@@ -111,7 +111,7 @@ jobs:
111111
112112 runs-on : ${{ matrix.os }}
113113 steps :
114- - uses : actions/checkout@v6
114+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
115115 with :
116116 persist-credentials : false
117117 sparse-checkout : |
@@ -122,7 +122,7 @@ jobs:
122122 declarative-agents
123123
124124 - name : Setup dotnet
125- uses : actions/setup-dotnet@v5.2.0
125+ uses : actions/setup-dotnet@c2fa09f4bde5ebb9d1777cf28262a3eb3db3ced7 # v5.2.0
126126 with :
127127 global-json-file : ${{ github.workspace }}/dotnet/global.json
128128 - name : Build dotnet solutions
@@ -181,7 +181,7 @@ jobs:
181181 runs-on : ${{ matrix.os }}
182182 environment : ${{ matrix.environment }}
183183 steps :
184- - uses : actions/checkout@v6
184+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
185185 with :
186186 persist-credentials : false
187187 sparse-checkout : |
@@ -202,7 +202,7 @@ jobs:
202202 echo "COSMOSDB_EMULATOR_AVAILABLE=true" >> $env:GITHUB_ENV
203203
204204 - name : Setup dotnet
205- uses : actions/setup-dotnet@v5.2.0
205+ uses : actions/setup-dotnet@c2fa09f4bde5ebb9d1777cf28262a3eb3db3ced7 # v5.2.0
206206 with :
207207 global-json-file : ${{ github.workspace }}/dotnet/global.json
208208
@@ -271,7 +271,7 @@ jobs:
271271
272272 - name : Azure CLI Login
273273 if : github.event_name != 'pull_request' && matrix.integration-tests
274- uses : azure/login@v2
274+ uses : azure/login@a457da9ea143d694b1b9c7c869ebb04ebe844ef5 # v2
275275 with :
276276 client-id : ${{ secrets.AZURE_CLIENT_ID }}
277277 tenant-id : ${{ secrets.AZURE_TENANT_ID }}
@@ -318,15 +318,15 @@ jobs:
318318 # Generate test reports and check coverage
319319 - name : Generate test reports
320320 if : matrix.targetFramework == env.COVERAGE_FRAMEWORK
321- uses : danielpalme/ReportGenerator-GitHub-Action@5.5.3
321+ uses : danielpalme/ReportGenerator-GitHub-Action@2a82782178b2816d9d6960a7345fdd164791b323 # 5.5.3
322322 with :
323323 reports : " ./TestResults/Coverage/**/*.cobertura.xml"
324324 targetdir : " ./TestResults/Reports"
325325 reporttypes : " HtmlInline;JsonSummary"
326326
327327 - name : Upload coverage report artifact
328328 if : matrix.targetFramework == env.COVERAGE_FRAMEWORK
329- uses : actions/upload-artifact@v7
329+ uses : actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7
330330 with :
331331 name : CoverageReport-${{ matrix.os }}-${{ matrix.targetFramework }}-${{ matrix.configuration }} # Artifact name
332332 path : ./TestResults/Reports # Directory containing files to upload
@@ -338,7 +338,7 @@ jobs:
338338
339339 - name : Upload integration test results
340340 if : always() && github.event_name != 'pull_request' && matrix.integration-tests
341- uses : actions/upload-artifact@v7
341+ uses : actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7
342342 with :
343343 name : dotnet-test-results-${{ matrix.targetFramework }}-${{ matrix.os }}
344344 path : IntegrationTestResults/**/*.junit
@@ -356,7 +356,7 @@ jobs:
356356 env :
357357 configuration : Release
358358 steps :
359- - uses : actions/checkout@v6
359+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
360360 with :
361361 persist-credentials : false
362362 sparse-checkout : |
@@ -366,7 +366,7 @@ jobs:
366366 python
367367
368368 - name : Setup dotnet
369- uses : actions/setup-dotnet@v5.2.0
369+ uses : actions/setup-dotnet@c2fa09f4bde5ebb9d1777cf28262a3eb3db3ced7 # v5.2.0
370370 with :
371371 global-json-file : ${{ github.workspace }}/dotnet/global.json
372372
@@ -381,7 +381,7 @@ jobs:
381381 run : dotnet build dotnet/tests/Foundry.Hosting.IntegrationTests/Foundry.Hosting.IntegrationTests.csproj -c "$configuration" --warnaserror
382382
383383 - name : Azure CLI Login
384- uses : azure/login@v2
384+ uses : azure/login@a457da9ea143d694b1b9c7c869ebb04ebe844ef5 # v2
385385 with :
386386 client-id : ${{ secrets.AZURE_CLIENT_ID }}
387387 tenant-id : ${{ secrets.AZURE_TENANT_ID }}
@@ -442,7 +442,7 @@ jobs:
442442 runs-on : ubuntu-latest
443443 environment : integration
444444 steps :
445- - uses : actions/checkout@v6
445+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
446446 with :
447447 persist-credentials : false
448448 sparse-checkout : |
@@ -453,7 +453,7 @@ jobs:
453453 declarative-agents
454454
455455 - name : Setup dotnet
456- uses : actions/setup-dotnet@v5.2.0
456+ uses : actions/setup-dotnet@c2fa09f4bde5ebb9d1777cf28262a3eb3db3ced7 # v5.2.0
457457 with :
458458 global-json-file : ${{ github.workspace }}/dotnet/global.json
459459
@@ -465,7 +465,7 @@ jobs:
465465 dotnet build ./tests/Microsoft.Agents.AI.Hosting.AzureFunctions.IntegrationTests -c Release -f net10.0 --warnaserror
466466
467467 - name : Azure CLI Login
468- uses : azure/login@v2
468+ uses : azure/login@a457da9ea143d694b1b9c7c869ebb04ebe844ef5 # v2
469469 with :
470470 client-id : ${{ secrets.AZURE_CLIENT_ID }}
471471 tenant-id : ${{ secrets.AZURE_TENANT_ID }}
@@ -522,7 +522,7 @@ jobs:
522522
523523 - name : Upload functions test results
524524 if : always()
525- uses : actions/upload-artifact@v7
525+ uses : actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7
526526 with :
527527 name : dotnet-test-results-functions-net10.0-ubuntu-latest
528528 path : IntegrationTestResults/**/*.junit
@@ -560,14 +560,14 @@ jobs:
560560 - name : Fail workflow if tests failed
561561 id : check_tests_failed
562562 if : contains(join(needs.*.result, ','), 'failure')
563- uses : actions/github-script@v8
563+ uses : actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8
564564 with :
565565 script : core.setFailed('Integration Tests Failed!')
566566
567567 - name : Fail workflow if tests cancelled
568568 id : check_tests_cancelled
569569 if : contains(join(needs.*.result, ','), 'cancelled')
570- uses : actions/github-script@v8
570+ uses : actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8
571571 with :
572572 script : core.setFailed('Integration Tests Cancelled!')
573573
@@ -585,7 +585,7 @@ jobs:
585585 run :
586586 working-directory : python
587587 steps :
588- - uses : actions/checkout@v6
588+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
589589 with :
590590 persist-credentials : false
591591 sparse-checkout : |
@@ -597,12 +597,12 @@ jobs:
597597 python-version : " 3.13"
598598 os : ${{ runner.os }}
599599 - name : Download all test results from current run
600- uses : actions/download-artifact@v4
600+ uses : actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4
601601 with :
602602 pattern : dotnet-test-results-*
603603 path : dotnet-test-results/
604604 - name : Restore report history cache
605- uses : actions/cache/restore@v4
605+ uses : actions/cache/restore@0057852bfaa89a56745cba8c7296529d2fc39830 # v4
606606 with :
607607 path : python/dotnet-integration-report-history.json
608608 key : dotnet-integration-report-history-${{ github.run_id }}
@@ -619,13 +619,13 @@ jobs:
619619 run : cat dotnet-integration-test-report.md >> $GITHUB_STEP_SUMMARY
620620 - name : Save report history cache
621621 if : always()
622- uses : actions/cache/save@v4
622+ uses : actions/cache/save@0057852bfaa89a56745cba8c7296529d2fc39830 # v4
623623 with :
624624 path : python/dotnet-integration-report-history.json
625625 key : dotnet-integration-report-history-${{ github.run_id }}
626626 - name : Upload trend report
627627 if : always()
628- uses : actions/upload-artifact@v7
628+ uses : actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7
629629 with :
630630 name : dotnet-integration-test-report
631631 path : |
0 commit comments