From 54ea0291f986976b909f49a00f92a86184de0f61 Mon Sep 17 00:00:00 2001 From: Dan Fiedler Date: Sun, 23 Aug 2026 19:51:30 -0400 Subject: [PATCH] Pin GitHub Actions to full-length commit SHAs --- .github/dependabot.yml | 11 +++++++++++ .github/workflows/CI.yaml | 4 ++-- 2 files changed, 13 insertions(+), 2 deletions(-) create mode 100644 .github/dependabot.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..2c48305 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,11 @@ +version: 2 +updates: + - package-ecosystem: "github-actions" + directory: "/" + groups: + github-actions: + patterns: ["*"] + schedule: + interval: "weekly" + cooldown: + default-days: 7 diff --git a/.github/workflows/CI.yaml b/.github/workflows/CI.yaml index ed035ae..4762dca 100644 --- a/.github/workflows/CI.yaml +++ b/.github/workflows/CI.yaml @@ -14,9 +14,9 @@ jobs: name: Windows build and test runs-on: windows-2022 # 2019 is not sufficient, Windows 21H1+ is best for ReFS bug fixes steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@0717577d45739eb3c851188b29f50ed6c0b2194e # v2.8.0 - name: Setup .NET SDK - uses: actions/setup-dotnet@v1 + uses: actions/setup-dotnet@871f041373faaad213a635d9afb62905ec029bbb # v1.10.1 # No "with: dotnet-version" specified -> use global.json - run: dotnet restore - run: dotnet build --configuration Release --no-restore