From 5e449fb9794804ba0b8af426e659f2ee599eaedd Mon Sep 17 00:00:00 2001 From: Dan Fiedler Date: Tue, 8 Sep 2026 16:23:33 -0400 Subject: [PATCH] Pin GitHub Actions to full-length commit SHAs --- .github/dependabot.yml | 11 +++++++++++ .github/workflows/non-windows.yml | 6 +++--- .github/workflows/portable.yml | 8 ++++---- .github/workflows/windows.yml | 6 +++--- 4 files changed, 21 insertions(+), 10 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/non-windows.yml b/.github/workflows/non-windows.yml index f339f02..7264f01 100644 --- a/.github/workflows/non-windows.yml +++ b/.github/workflows/non-windows.yml @@ -22,8 +22,8 @@ jobs: - ubuntu-latest steps: - - uses: actions/checkout@v4 - - uses: actions/setup-node@v4 + - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0 + - uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0 with: node-version: 24.19.0 cache: npm @@ -63,7 +63,7 @@ jobs: - run: npm ci --ignore-scripts=false --dangerously-allow-all-scripts=false --strict-allow-scripts - name: Cache compliance source downloads - uses: actions/cache@v4 + uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0 with: path: .compliance-cache key: compliance-${{ runner.os }}-${{ hashFiles('third_party/compliance-policy.json') }} diff --git a/.github/workflows/portable.yml b/.github/workflows/portable.yml index 4d51ada..8fab629 100644 --- a/.github/workflows/portable.yml +++ b/.github/workflows/portable.yml @@ -47,8 +47,8 @@ jobs: artifact_path: release/*.exe steps: - - uses: actions/checkout@v4 - - uses: actions/setup-node@v4 + - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0 + - uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0 with: node-version: 24.19.0 cache: npm @@ -67,14 +67,14 @@ jobs: CSC_IDENTITY_AUTO_DISCOVERY: "false" - name: Upload portable artifact - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 with: name: skill-recorder-${{ matrix.name }} path: ${{ matrix.artifact_path }} if-no-files-found: error - name: Upload compliance companion - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 with: name: skill-recorder-${{ matrix.name }}-compliance path: .compliance/** diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index af4ffaf..6daf636 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -26,7 +26,7 @@ jobs: dist_script: dist:win:arm64 steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0 - name: Validate source installer guardrails shell: powershell @@ -61,7 +61,7 @@ jobs: SKILL_RECORDER_NO_LAUNCH: "1" run: .\install.ps1 - - uses: actions/setup-node@v4 + - uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0 with: node-version: 24.19.0 architecture: ${{ matrix.arch }} @@ -71,7 +71,7 @@ jobs: run: npm run check:lockfile - name: Cache compliance source downloads - uses: actions/cache@v4 + uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0 with: path: .compliance-cache key: compliance-windows-${{ matrix.arch }}-${{ hashFiles('third_party/compliance-policy.json') }}