From 909ce1863bcb86d65ad36c9e325985266e54de5a Mon Sep 17 00:00:00 2001 From: Chawye Hsu Date: Fri, 2 Jan 2026 23:08:59 +0800 Subject: [PATCH] ci: sha pin github actions ref: - https://github.blog/changelog/2025-08-15-github-actions-policy-now-supports-blocking-and-sha-pinning-actions/ - https://docs.github.com/en/actions/how-tos/write-workflows/choose-what-workflows-do/find-and-customize-actions#using-shas Signed-off-by: Chawye Hsu --- .github/workflows/ci.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0b78b04..64a62db 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,11 +11,11 @@ jobs: runs-on: windows-latest steps: - name: Checkout - uses: actions/checkout@main + uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 with: fetch-depth: 2 - name: Init Test Suite - uses: potatoqualitee/psmodulecache@v5.1 + uses: potatoqualitee/psmodulecache@ee5e9494714abf56f6efbfa51527b2aec5c761b8 # v6.2.1 with: modules-to-cache: PSScriptAnalyzer, BuildHelpers, Pester shell: powershell @@ -35,11 +35,11 @@ jobs: runs-on: windows-latest steps: - name: Checkout - uses: actions/checkout@main + uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 with: fetch-depth: 2 - name: Init Test Suite - uses: potatoqualitee/psmodulecache@v5.1 + uses: potatoqualitee/psmodulecache@ee5e9494714abf56f6efbfa51527b2aec5c761b8 # v6.2.1 with: modules-to-cache: PSScriptAnalyzer, BuildHelpers, Pester shell: pwsh @@ -59,7 +59,7 @@ jobs: runs-on: windows-latest steps: - name: Checkout - uses: actions/checkout@main + uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 with: fetch-depth: 2 - name: Test Scoop Install command