diff --git a/.github/workflows/Component.BuildTest.yml b/.github/workflows/Component.BuildTest.yml index 863ba8660c4..1929588cf42 100644 --- a/.github/workflows/Component.BuildTest.yml +++ b/.github/workflows/Component.BuildTest.yml @@ -46,7 +46,7 @@ jobs: runs-on: ${{ matrix.os }} steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 with: # Note: By default GitHub only fetches 1 commit. MinVer needs to find # the version tag which is typically NOT on the first commit so we diff --git a/.github/workflows/add-labels.yml b/.github/workflows/add-labels.yml index 48639374fb2..ae53f9c5a20 100644 --- a/.github/workflows/add-labels.yml +++ b/.github/workflows/add-labels.yml @@ -18,7 +18,7 @@ jobs: steps: - name: check out code - uses: actions/checkout@v4 + uses: actions/checkout@v5 - name: Add labels for package found in bug issue descriptions shell: pwsh @@ -39,7 +39,7 @@ jobs: steps: - name: check out code - uses: actions/checkout@v4 + uses: actions/checkout@v5 with: ref: ${{ github.event.repository.default_branch }} # Note: Do not run on the PR branch we want to execute add-labels.psm1 from main on the base repo only because pull_request_target can see secrets diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5640ee079b5..b659e459434 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,7 +18,7 @@ jobs: outputs: changes: ${{ steps.changes.outputs.changes }} steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - uses: AurorNZ/paths-filter@v4 id: changes with: @@ -113,7 +113,7 @@ jobs: matrix: version: [ net8.0, net9.0 ] steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - name: Run OTLP Exporter docker compose run: docker compose --file=test/OpenTelemetry.Exporter.OpenTelemetryProtocol.Tests/IntegrationTest/docker-compose.yml --file=build/docker-compose.${{ matrix.version }}.yml --project-directory=. up --exit-code-from=tests --build @@ -131,7 +131,7 @@ jobs: matrix: version: [ net8.0, net9.0 ] steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - name: Run W3C Trace Context docker compose run: docker compose --file=test/OpenTelemetry.Instrumentation.W3cTraceContext.Tests/docker-compose.yml --file=build/docker-compose.${{ matrix.version }}.yml --project-directory=. up --exit-code-from=tests --build diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 3cdd6a57b6d..ed874653cf3 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -29,7 +29,7 @@ jobs: disk-root: "D:" - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v5 - name: Initialize CodeQL uses: github/codeql-action/init@v3 diff --git a/.github/workflows/concurrency-tests.yml b/.github/workflows/concurrency-tests.yml index 907d7260049..611788bca9d 100644 --- a/.github/workflows/concurrency-tests.yml +++ b/.github/workflows/concurrency-tests.yml @@ -17,7 +17,7 @@ jobs: runs-on: ${{ matrix.os }} steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - name: Setup dotnet uses: actions/setup-dotnet@v4 diff --git a/.github/workflows/docfx.yml b/.github/workflows/docfx.yml index 76ab4f2e1ec..3052a5b6250 100644 --- a/.github/workflows/docfx.yml +++ b/.github/workflows/docfx.yml @@ -11,7 +11,7 @@ jobs: steps: - name: check out code - uses: actions/checkout@v4 + uses: actions/checkout@v5 - name: Setup dotnet uses: actions/setup-dotnet@v4 diff --git a/.github/workflows/dotnet-format.yml b/.github/workflows/dotnet-format.yml index 2ea4834570f..9ca9f83e0b8 100644 --- a/.github/workflows/dotnet-format.yml +++ b/.github/workflows/dotnet-format.yml @@ -11,7 +11,7 @@ jobs: steps: - name: check out code - uses: actions/checkout@v4 + uses: actions/checkout@v5 - name: Setup dotnet uses: actions/setup-dotnet@v4 @@ -29,7 +29,7 @@ jobs: steps: - name: check out code - uses: actions/checkout@v4 + uses: actions/checkout@v5 - name: Setup dotnet uses: actions/setup-dotnet@v4 diff --git a/.github/workflows/fossa.yml b/.github/workflows/fossa.yml index 3beaa09b775..68b91a878ae 100644 --- a/.github/workflows/fossa.yml +++ b/.github/workflows/fossa.yml @@ -12,7 +12,7 @@ jobs: fossa: runs-on: ubuntu-latest steps: - - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 - uses: fossas/fossa-action@93a52ecf7c3ac7eb40f5de77fd69b1a19524de94 # v1.5.0 with: diff --git a/.github/workflows/markdownlint.yml b/.github/workflows/markdownlint.yml index b013c52a57a..b6a41beae63 100644 --- a/.github/workflows/markdownlint.yml +++ b/.github/workflows/markdownlint.yml @@ -11,7 +11,7 @@ jobs: steps: - name: check out code - uses: actions/checkout@v4 + uses: actions/checkout@v5 - name: run markdownlint uses: DavidAnson/markdownlint-cli2-action@v19.1.0 diff --git a/.github/workflows/package-validation.yml b/.github/workflows/package-validation.yml index d1f7658ee2d..539e19a556b 100644 --- a/.github/workflows/package-validation.yml +++ b/.github/workflows/package-validation.yml @@ -10,7 +10,7 @@ jobs: runs-on: windows-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 with: # Note: By default GitHub only fetches 1 commit. MinVer needs to find # the version tag which is typically NOT on the first commit so we @@ -27,7 +27,7 @@ jobs: runs-on: windows-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 with: # Note: By default GitHub only fetches 1 commit. MinVer needs to find # the version tag which is typically NOT on the first commit so we diff --git a/.github/workflows/post-release.yml b/.github/workflows/post-release.yml index bb67ead1e47..3d4357c5f85 100644 --- a/.github/workflows/post-release.yml +++ b/.github/workflows/post-release.yml @@ -41,7 +41,7 @@ jobs: steps: - name: check out code - uses: actions/checkout@v4 + uses: actions/checkout@v5 with: token: ${{ secrets[needs.automation.outputs.token-secret-name] }} ref: ${{ github.event.repository.default_branch }} @@ -75,7 +75,7 @@ jobs: GH_TOKEN: ${{ secrets[needs.automation.outputs.token-secret-name] }} steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 with: # Note: By default GitHub only fetches 1 commit. We need all the tags # for this work. diff --git a/.github/workflows/prepare-release.yml b/.github/workflows/prepare-release.yml index fbccc656063..c39f18acdf0 100644 --- a/.github/workflows/prepare-release.yml +++ b/.github/workflows/prepare-release.yml @@ -40,7 +40,7 @@ jobs: steps: - name: check out code - uses: actions/checkout@v4 + uses: actions/checkout@v5 with: token: ${{ secrets[needs.automation.outputs.token-secret-name] }} @@ -76,7 +76,7 @@ jobs: steps: - name: check out code - uses: actions/checkout@v4 + uses: actions/checkout@v5 with: token: ${{ secrets[needs.automation.outputs.token-secret-name] }} @@ -110,7 +110,7 @@ jobs: steps: - name: check out code - uses: actions/checkout@v4 + uses: actions/checkout@v5 with: # Note: By default GitHub only fetches 1 commit which fails the git tag operation below fetch-depth: 0 @@ -149,7 +149,7 @@ jobs: steps: - name: check out code - uses: actions/checkout@v4 + uses: actions/checkout@v5 with: # Note: By default GitHub only fetches 1 commit which fails the git tag operation below fetch-depth: 0 @@ -188,7 +188,7 @@ jobs: steps: - name: check out code - uses: actions/checkout@v4 + uses: actions/checkout@v5 with: # Note: By default GitHub only fetches 1 commit which fails the git tag operation below fetch-depth: 0 diff --git a/.github/workflows/publish-packages-1.0.yml b/.github/workflows/publish-packages-1.0.yml index 1d4d699381b..1cb40e6d308 100644 --- a/.github/workflows/publish-packages-1.0.yml +++ b/.github/workflows/publish-packages-1.0.yml @@ -35,7 +35,7 @@ jobs: artifact-id: ${{ steps.upload-artifacts.outputs.artifact-id }} steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 with: # Note: By default GitHub only fetches 1 commit. MinVer needs to find # the version tag which is typically NOT on the first commit so we @@ -104,7 +104,7 @@ jobs: steps: - name: check out code - uses: actions/checkout@v4 + uses: actions/checkout@v5 with: token: ${{ secrets[needs.automation.outputs.token-secret-name] }} diff --git a/.github/workflows/sanitycheck.yml b/.github/workflows/sanitycheck.yml index 335d389a9c7..29e57def4be 100644 --- a/.github/workflows/sanitycheck.yml +++ b/.github/workflows/sanitycheck.yml @@ -11,7 +11,7 @@ jobs: steps: - name: check out code - uses: actions/checkout@v4 + uses: actions/checkout@v5 - name: install misspell run: | @@ -26,7 +26,7 @@ jobs: steps: - name: check out code - uses: actions/checkout@v4 + uses: actions/checkout@v5 - name: detect non-ASCII encoding and trailing space run: python3 ./build/scripts/sanitycheck.py diff --git a/.github/workflows/verifyaotcompat.yml b/.github/workflows/verifyaotcompat.yml index b85eaf5ca2d..db5328b186e 100644 --- a/.github/workflows/verifyaotcompat.yml +++ b/.github/workflows/verifyaotcompat.yml @@ -16,7 +16,7 @@ jobs: runs-on: ${{ matrix.os }} steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - name: Setup dotnet uses: actions/setup-dotnet@v4