From 39927bf690ac9b96b7e182c22a5f7e82b1e3ab86 Mon Sep 17 00:00:00 2001 From: humocs-man <251756307+humocs-man@users.noreply.github.com> Date: Mon, 6 Apr 2026 17:51:58 +0200 Subject: [PATCH] Delete .github/workflows/validate-brewfiles.yml --- .github/workflows/validate-brewfiles.yml | 38 ------------------------ 1 file changed, 38 deletions(-) delete mode 100644 .github/workflows/validate-brewfiles.yml diff --git a/.github/workflows/validate-brewfiles.yml b/.github/workflows/validate-brewfiles.yml deleted file mode 100644 index b47f822..0000000 --- a/.github/workflows/validate-brewfiles.yml +++ /dev/null @@ -1,38 +0,0 @@ -name: Validate Brewfiles -permissions: - contents: read - -on: - pull_request: - paths: - - "custom/brew/**" -jobs: - validate: - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v5 - - - name: Set up Homebrew - uses: Homebrew/actions/setup-homebrew@1ccc07ccd54b6048295516a3eb89b192c35057dc # master - - - name: Validate Brewfiles - shell: bash - run: | - echo "Validating Brewfiles in custom/brew/ directory..." - - find "custom/brew" -iname '*\.Brewfile*' -print0 | \ - while IFS= read -r -d '' brewfile ; do \ - echo "::group:: ===$(basename $brewfile)===" - grep -E -e "^tap" $brewfile > taps.Brewfile || echo "# No taps" > taps.Brewfile - set -xeuo pipefail - brew bundle --file=./taps.Brewfile - if brew bundle exec whoami --file="$brewfile" | grep -F -e "${USER}" ; then - echo "✓ $brewfile is valid" - else - echo "✗ $brewfile validation failed" - exit 1 - fi - set +xeuo pipefail - echo "::endgroup::" - done