From f154eb281216aedc9087d1a63fba79447024f909 Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Fri, 13 Jun 2025 15:48:23 +0000 Subject: [PATCH 1/3] homebrew-actions.yml: update to match main configuration --- .github/codeql/extensions/homebrew-actions.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/codeql/extensions/homebrew-actions.yml b/.github/codeql/extensions/homebrew-actions.yml index d82c10fc86..8d4091650b 100644 --- a/.github/codeql/extensions/homebrew-actions.yml +++ b/.github/codeql/extensions/homebrew-actions.yml @@ -1,3 +1,4 @@ +# This file is synced from the `.github` repository, do not modify it directly. extensions: - addsTo: pack: codeql/actions-all From cf2d4a5676acd509c5043a74508cfc88f69c91d6 Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Fri, 13 Jun 2025 15:48:23 +0000 Subject: [PATCH 2/3] actionlint.yml: update to match main configuration --- .github/workflows/actionlint.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/actionlint.yml b/.github/workflows/actionlint.yml index 7bf071a56e..d5e56756f9 100644 --- a/.github/workflows/actionlint.yml +++ b/.github/workflows/actionlint.yml @@ -39,7 +39,7 @@ jobs: steps: - name: Set up Homebrew id: setup-homebrew - uses: Homebrew/actions/setup-homebrew@master + uses: Homebrew/actions/setup-homebrew@main with: core: false cask: false @@ -63,7 +63,15 @@ jobs: path: results.sarif - name: Set up actionlint - run: echo "::add-matcher::$(brew --repository)/.github/actionlint-matcher.json" + run: | + # In homebrew-core, setting `shell: /bin/bash` prevents shellcheck from running on + # those steps, so let's change them to `shell: bash` temporarily for better linting. + sed -i 's|shell: /bin/bash -x|shell: bash -x|' .github/workflows/*.y*ml + + # In homebrew-core, the JSON matcher needs to be accessible to the container host. + cp "$(brew --repository)/.github/actionlint-matcher.json" "$HOME" + + echo "::add-matcher::$HOME/actionlint-matcher.json" - run: actionlint From c15dec782128c4ef3f6e06a4eaf683f9be1bb06e Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Fri, 13 Jun 2025 15:48:23 +0000 Subject: [PATCH 3/3] zizmor.yml: update to match main configuration --- .github/zizmor.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/zizmor.yml b/.github/zizmor.yml index 37fe3fad56..465fbd2c2e 100644 --- a/.github/zizmor.yml +++ b/.github/zizmor.yml @@ -1,3 +1,4 @@ +# This file is synced from the `.github` repository, do not modify it directly. rules: unpinned-uses: config: