From 5ea56d6b17b704681675148faa86c6ba6459d232 Mon Sep 17 00:00:00 2001 From: Matthew John Cheetham Date: Wed, 10 Jul 2024 12:12:05 -0700 Subject: [PATCH] homebrew: remove no longer needed workflow The `git-credential-manager` cask is part of the 'autobump' for the public tap of Homebrew. We no longer need to maintain our own publishing workflow. Error message when we try to publish our own package bump: ```log Error: Whoops, the git-credential-manager cask has its version update pull requests automatically opened by BrewTestBot every ~3 hours! We'd still love your contributions, though, so try another one that's not in the autobump list: https://github.com/Homebrew/homebrew-cask/blob/master/.github/autobump.txt ``` --- .github/workflows/release-homebrew.yaml | 25 ------------------------- 1 file changed, 25 deletions(-) delete mode 100644 .github/workflows/release-homebrew.yaml diff --git a/.github/workflows/release-homebrew.yaml b/.github/workflows/release-homebrew.yaml deleted file mode 100644 index a27735d36..000000000 --- a/.github/workflows/release-homebrew.yaml +++ /dev/null @@ -1,25 +0,0 @@ -name: "release-homebrew" -on: - release: - types: [released] - -jobs: - release: - runs-on: macos-latest - environment: release - env: - HOMEBREW_GITHUB_API_TOKEN: ${{ secrets.HOMEBREW_TOKEN }} - steps: - - name: Open PR against homebrew/homebrew-cask - run: | - # Get latest version - version=$(curl --silent "https://api.github.com/repos/git-ecosystem/git-credential-manager/releases/latest" | - grep '"tag_name":' | - sed -E 's/.*"v([0-9\.]+).*/\1/') - - # Ensure local Homebrew repository is up to date - cd "$(brew --repository homebrew/cask)" - git pull - - # Open PR to update to latest version - brew bump-cask-pr git-credential-manager --version $version --no-audit --no-browse