From 3e949b40ed06c0254c0fbfe562ecf86df4ee73a5 Mon Sep 17 00:00:00 2001 From: Dan Fiedler Date: Wed, 19 Aug 2026 08:50:16 -0400 Subject: [PATCH] Pin GitHub Actions to full-length commit SHAs --- .github/dependabot.yml | 11 +++++++++++ .github/workflows/update-winget-manifest.yml | 2 +- .github/workflows/validate-homebrew.yml | 4 ++-- 3 files changed, 14 insertions(+), 3 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/update-winget-manifest.yml b/.github/workflows/update-winget-manifest.yml index ed954ab..97b09aa 100644 --- a/.github/workflows/update-winget-manifest.yml +++ b/.github/workflows/update-winget-manifest.yml @@ -111,7 +111,7 @@ jobs: } - name: Create tracking issue - uses: actions/github-script@v7 + uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7.1.0 with: script: | const prUrl = '${{ steps.submit.outputs.pr_url }}'; diff --git a/.github/workflows/validate-homebrew.yml b/.github/workflows/validate-homebrew.yml index fc87801..a958b84 100644 --- a/.github/workflows/validate-homebrew.yml +++ b/.github/workflows/validate-homebrew.yml @@ -28,7 +28,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0 - name: Set up Homebrew uses: Homebrew/actions/setup-homebrew@main @@ -60,7 +60,7 @@ jobs: - name: Create issue on failure if: failure() - uses: actions/github-script@v7 + uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7.1.0 with: script: | await github.rest.issues.create({