diff --git a/.github/workflows/adr-check.yml b/.github/workflows/adr-check.yml index 4ea0da4f..2ec34616 100644 --- a/.github/workflows/adr-check.yml +++ b/.github/workflows/adr-check.yml @@ -38,7 +38,7 @@ jobs: pull-requests: write # only for the optional comment when a PR is open steps: - name: Checkout the dispatched branch - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7 with: # Full history so the merge-base with the base ref resolves for the diff. fetch-depth: 0 diff --git a/.github/workflows/analyzers.yml b/.github/workflows/analyzers.yml index 01c41270..3acc25fb 100644 --- a/.github/workflows/analyzers.yml +++ b/.github/workflows/analyzers.yml @@ -32,7 +32,7 @@ jobs: timeout-minutes: 15 steps: - name: Checkout - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7 - name: Setup .NET uses: actions/setup-dotnet@26b0ec14cb23fa6904739307f278c14f94c95bf1 # v5 @@ -62,7 +62,7 @@ jobs: FLOORCHECK_VERSION: 1.0.0-floorcheck.${{ github.run_number }}.${{ github.run_attempt }} steps: - name: Checkout - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7 - name: Setup SDKs (release + floor) uses: actions/setup-dotnet@26b0ec14cb23fa6904739307f278c14f94c95bf1 # v5 diff --git a/.github/workflows/canary.yml b/.github/workflows/canary.yml index d5fa2aff..06e2935a 100644 --- a/.github/workflows/canary.yml +++ b/.github/workflows/canary.yml @@ -39,7 +39,7 @@ jobs: timeout-minutes: 15 steps: - name: Checkout - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7 # Best effort: a preview for the next major may not be published yet, or may fail to install. Marking this # step continue-on-error keeps that from reddening the canary — the build/run steps below are gated on its diff --git a/.github/workflows/changelog.yml b/.github/workflows/changelog.yml index a1341e9f..d1f41364 100644 --- a/.github/workflows/changelog.yml +++ b/.github/workflows/changelog.yml @@ -52,7 +52,7 @@ jobs: pull-requests: write # open the review pull request steps: - name: Checkout - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7 with: # Always draft from main, whatever branch the dispatch UI had selected: # collect-prs.sh gathers PRs merged into main, so drafting on any other diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 590b346d..1e64168c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -39,7 +39,7 @@ jobs: os: [ubuntu-latest, windows-latest] steps: - name: Checkout - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7 - name: Setup .NET uses: actions/setup-dotnet@26b0ec14cb23fa6904739307f278c14f94c95bf1 # v5 @@ -85,7 +85,7 @@ jobs: timeout-minutes: 15 steps: - name: Checkout - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7 # global.json pins the .NET 10 SDK; that SDK compiles the net472 target. The .NET Framework runtime that # RUNS net472 assemblies ships on the windows-latest image, and the net472 targeting pack for COMPILATION @@ -126,7 +126,7 @@ jobs: timeout-minutes: 15 steps: - name: Checkout - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7 # Two SDKs on purpose: 10.0.x satisfies the repo global.json (which pins the .NET 10 SDK) so the build # runs normally, and 8.0.x brings the .NET 8 runtime — the floor the tooling ships against — so the run diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index f1ad732a..4e95262f 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -34,7 +34,7 @@ jobs: contents: read steps: - name: Checkout - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7 - name: Initialize CodeQL uses: github/codeql-action/init@99df26d4f13ea111d4ec1a7dddef6063f76b97e9 # v4 diff --git a/.github/workflows/commit-lint.yml b/.github/workflows/commit-lint.yml index 00b43d03..b76183d8 100644 --- a/.github/workflows/commit-lint.yml +++ b/.github/workflows/commit-lint.yml @@ -18,7 +18,7 @@ jobs: timeout-minutes: 10 steps: - name: Checkout - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7 with: # Need the PR's commits, so fetch full history rather than a shallow tip. fetch-depth: 0 diff --git a/.github/workflows/dependency-review.yml b/.github/workflows/dependency-review.yml index c7b59560..247122b1 100644 --- a/.github/workflows/dependency-review.yml +++ b/.github/workflows/dependency-review.yml @@ -31,7 +31,7 @@ jobs: timeout-minutes: 10 steps: - name: Checkout - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7 - name: Dependency review uses: actions/dependency-review-action@a1d282b36b6f3519aa1f3fc636f609c47dddb294 # v5.0.0 diff --git a/.github/workflows/dummies.yml b/.github/workflows/dummies.yml index d5a1e072..820fa92f 100644 --- a/.github/workflows/dummies.yml +++ b/.github/workflows/dummies.yml @@ -45,7 +45,7 @@ jobs: DUMMIESCHECK_VERSION: 1.0.0-dummiescheck.${{ github.run_number }}.${{ github.run_attempt }} steps: - name: Checkout - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7 # Three SDKs on purpose: 10.0.x is the SDK release.yml packs with, so the pack step produces the exact # artifact consumers receive; 8.0.x and 6.0.x bring the .NET 8 and .NET 6 RUNTIMES so each consumer leg diff --git a/.github/workflows/gendoc-docs.yml b/.github/workflows/gendoc-docs.yml index 9bf9379d..5492cc03 100644 --- a/.github/workflows/gendoc-docs.yml +++ b/.github/workflows/gendoc-docs.yml @@ -38,7 +38,7 @@ jobs: contents: write steps: - name: Checkout - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7 with: ref: ${{ github.head_ref }} diff --git a/.github/workflows/release-dryrun.yml b/.github/workflows/release-dryrun.yml index 6de6f528..6fa9d20a 100644 --- a/.github/workflows/release-dryrun.yml +++ b/.github/workflows/release-dryrun.yml @@ -47,7 +47,7 @@ jobs: timeout-minutes: 15 steps: - name: Checkout - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7 with: # Full history + tags so the release-notes rehearsal below can resolve the previous same-train tag. fetch-depth: 0 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 95444a9b..2c9049c6 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -72,7 +72,7 @@ jobs: attestations: write steps: - name: Checkout - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7 with: # Full history + tags so tools/packaging/release-notes.sh can resolve the previous # same-train tag — the lower bound of the release-notes commit range. diff --git a/.github/workflows/scorecard.yml b/.github/workflows/scorecard.yml index 85115957..085482a2 100644 --- a/.github/workflows/scorecard.yml +++ b/.github/workflows/scorecard.yml @@ -43,7 +43,7 @@ jobs: # actions: read steps: - name: Checkout - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7 with: # A credential-free checkout — Scorecard's own Token-Permissions check rewards it. persist-credentials: false diff --git a/.github/workflows/sonar.yml b/.github/workflows/sonar.yml index 0e1eb3f1..292988b5 100644 --- a/.github/workflows/sonar.yml +++ b/.github/workflows/sonar.yml @@ -35,7 +35,7 @@ jobs: if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository steps: - name: Checkout - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7 with: # Full history lets Sonar attribute issues via git blame and detect new code. fetch-depth: 0