From e06116674e382e53a8ab3bf16c3ecb403d68f989 Mon Sep 17 00:00:00 2001 From: Dan Fiedler Date: Fri, 28 Aug 2026 21:09:45 -0400 Subject: [PATCH] Pin GitHub Actions to full-length commit SHAs --- .github/dependabot.yml | 11 +++++++++++ .github/workflows/azure.datatypechannels.asb.yml | 14 +++++++------- 2 files changed, 18 insertions(+), 7 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/azure.datatypechannels.asb.yml b/.github/workflows/azure.datatypechannels.asb.yml index 232fdb6..1305e38 100644 --- a/.github/workflows/azure.datatypechannels.asb.yml +++ b/.github/workflows/azure.datatypechannels.asb.yml @@ -21,12 +21,12 @@ jobs: name: build steps: - name: checkout - uses: actions/checkout@v4.1.0 - - uses: actions/setup-dotnet@v4.0.0 + uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0 + - uses: actions/setup-dotnet@4d6c8fcf3c8f7a60068d26b594648e99df24cee3 # v4.0.0 with: global-json-file: global.json - name: Login to Azure - uses: azure/login@v2 + uses: azure/login@7184910d9eb2b1c5e48f7073824a90609bb9b6d6 # v2.3.1 with: client-id: ${{ secrets.CLIENT_ID }} tenant-id: ${{ secrets.TENANT_ID }} @@ -38,7 +38,7 @@ jobs: env: servicePrincipalId: ${{ secrets.CLIENT_ID }} - name: Upload NuGet package - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 with: name: nuget path: out/*.nupkg @@ -51,12 +51,12 @@ jobs: name: release steps: - name: checkout - uses: actions/checkout@v4.1.0 - - uses: actions/setup-dotnet@v4.0.0 + uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0 + - uses: actions/setup-dotnet@4d6c8fcf3c8f7a60068d26b594648e99df24cee3 # v4.0.0 with: global-json-file: global.json - name: Download NuGet package - uses: actions/download-artifact@v4 + uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0 with: name: nuget path: out