From 0244da84ecc265a2b2856d01712f65f2ba58ad43 Mon Sep 17 00:00:00 2001 From: deggja Date: Fri, 4 Oct 2024 23:26:07 +0200 Subject: [PATCH] ci: try force Signed-off-by: deggja --- .github/workflows/homebrew.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/homebrew.yml b/.github/workflows/homebrew.yml index 5384b45..caa57da 100644 --- a/.github/workflows/homebrew.yml +++ b/.github/workflows/homebrew.yml @@ -71,6 +71,12 @@ jobs: sed -i "s|sha256 \".*\"|sha256 \"${{ env.MACOS_SHA256 }}\"|" $FORMULA_FILE sed -i "s|url \".*linux_amd64\.tar\.gz\"|url \"https://github.com/deggja/netfetch/releases/download/v${{ env.VERSION }}/netfetch_${{ env.VERSION }}_linux_amd64.tar.gz\"|" $FORMULA_FILE sed -i "s|sha256 \".*\"|sha256 \"${{ env.LINUX_SHA256 }}\"|" $FORMULA_FILE + + - name: Fetch Latest Changes from Main + run: | + git fetch origin main + git checkout main + git pull origin main - name: Remove temp directory run: rm -rf temp @@ -81,6 +87,7 @@ jobs: commit_message: "chore: update homebrew formula for v${{ env.VERSION }}" branch: chore/homebrew-${{ env.VERSION }} create_branch: true + push_options: '--force' file_pattern: "formula/netfetch.rb" commit_user_name: "Netfetch Bot" commit_author: "Netfetch Bot "