From 81fca0ee6d20c65f4230152529b7f66225b7caa7 Mon Sep 17 00:00:00 2001 From: Dan Fiedler Date: Sun, 23 Aug 2026 22:12:28 -0400 Subject: [PATCH] Pin GitHub Actions to full-length commit SHAs --- .github/dependabot.yml | 11 +++++++++++ .github/workflows/dotnet-pr-build-validation.yml | 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/dotnet-pr-build-validation.yml b/.github/workflows/dotnet-pr-build-validation.yml index 754d579..cbd3269 100644 --- a/.github/workflows/dotnet-pr-build-validation.yml +++ b/.github/workflows/dotnet-pr-build-validation.yml @@ -14,10 +14,10 @@ jobs: runs-on: windows-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@a37ce9120846195fa4ece8f58b268e6043cb2f26 # v3.7.0 - name: Add msbuild to PATH - uses: microsoft/setup-msbuild@v1.1 + uses: microsoft/setup-msbuild@34cfbaee7f672c76950673338facd8a73f637506 # v1.1.3 - name: Restore dependencies run: msbuild './SurfaceDevCenterManager/SurfaceDevCenterManager.csproj' -t:restore -property:Configuration=Release