diff --git a/.github/workflows/nuget_update.yaml b/.github/workflows/nuget_update.yaml index fc1c7d7ac..e2505220a 100644 --- a/.github/workflows/nuget_update.yaml +++ b/.github/workflows/nuget_update.yaml @@ -32,7 +32,7 @@ jobs: steps: # Check out the main repo. - - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac + - uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 with: # Only check out main repo, not submodules. ref: ${{ github.event.workflow_run.head_branch }} diff --git a/.github/workflows/ossar-scan.yml b/.github/workflows/ossar-scan.yml index c4f7b5c4b..af66ff8bd 100644 --- a/.github/workflows/ossar-scan.yml +++ b/.github/workflows/ossar-scan.yml @@ -42,7 +42,7 @@ jobs: paths_ignore: '["**.md", "**/docs/**"]' # Checking out the branch is needed to correctly log security alerts. - - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac + - uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 if: steps.skip_check.outputs.should_skip != 'true' with: # Only check out main repo, not submodules. diff --git a/.github/workflows/reusable-build.yml b/.github/workflows/reusable-build.yml index 6eb799a1d..8483a472b 100644 --- a/.github/workflows/reusable-build.yml +++ b/.github/workflows/reusable-build.yml @@ -75,7 +75,7 @@ jobs: powershell.exe "echo 'msvc_tools_path=%VCToolsInstallDir%' | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append" powershell.exe "echo 'msvc_tools_version=%VCToolsVersion%' | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append" - - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac + - uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 if: steps.skip_check.outputs.should_skip != 'true' with: submodules: 'recursive' diff --git a/.github/workflows/reusable-test.yml b/.github/workflows/reusable-test.yml index 2fc81b927..fcd28d5e8 100644 --- a/.github/workflows/reusable-test.yml +++ b/.github/workflows/reusable-test.yml @@ -91,7 +91,7 @@ jobs: paths_ignore: '["**.md", "**/docs/**"]' # Checking out the branch is needed to gather correct code coverage data. - - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac + - uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # Only check out source code if code coverage is being gathered. if: (inputs.code_coverage == true) && (steps.skip_check.outputs.should_skip != 'true') with: @@ -99,7 +99,7 @@ jobs: ref: ${{ github.event.workflow_run.head_branch }} # Perform shallow checkout for self-hosted runner. - - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac + - uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 if: (inputs.environment == 'ebpf_cicd_tests_ws2019' || inputs.environment == 'ebpf_cicd_tests_ws2022' || inputs.environment == 'ebpf_cicd_perf_ws2022') && (steps.skip_check.outputs.should_skip != 'true') with: ref: ${{ github.event.workflow_run.head_branch }} diff --git a/.github/workflows/scorecards-analysis.yml b/.github/workflows/scorecards-analysis.yml index 149022a5a..acf9358f8 100644 --- a/.github/workflows/scorecards-analysis.yml +++ b/.github/workflows/scorecards-analysis.yml @@ -45,7 +45,7 @@ jobs: - name: "Checkout code" if: github.ref_name == 'main' - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac + uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 with: persist-credentials: false diff --git a/.github/workflows/update-docs.yml b/.github/workflows/update-docs.yml index 623fe5721..d27497a7e 100644 --- a/.github/workflows/update-docs.yml +++ b/.github/workflows/update-docs.yml @@ -41,7 +41,7 @@ jobs: run: | sudo apt install doxygen - - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac + - uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 - name: Clone docs run: |