fix: only update Homebrew on stable releases

Signed-off-by: Drew Cain <groksrc@gmail.com>
This commit is contained in:
Drew Cain
2025-06-21 08:12:23 -05:00
parent 616c1f0710
commit a52ce1c860
2 changed files with 6 additions and 1 deletions
+3
View File
@@ -57,6 +57,8 @@ jobs:
name: Update Homebrew Formula
needs: release
runs-on: ubuntu-latest
# Only run for stable releases (not dev, beta, or rc versions)
if: ${{ !contains(github.ref_name, 'dev') && !contains(github.ref_name, 'b') && !contains(github.ref_name, 'rc') }}
permissions:
contents: write
actions: read
@@ -80,3 +82,4 @@ jobs:
env:
# Personal Access Token with repo scope for homebrew-basic-memory repo
COMMITTER_TOKEN: ${{ secrets.HOMEBREW_TOKEN }}