Skip to content

Commit

Permalink
🫖 mommy fixes homebrew url insertion~
Browse files Browse the repository at this point in the history
  • Loading branch information
FWDekker committed Sep 4, 2024
1 parent 302ab48 commit 73545df
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -335,10 +335,11 @@ jobs:
- name: Patch homebrew-mommy
working-directory: homebrew-mommy
env:
RELEVANT_URL: ${{ github.event.pull_request.head.repo.full_name || github.repository }}
RELEVANT_SHA: ${{ github.event.pull_request.head.sha || github.sha }}
run: |
# Point the formula to the commit that is being tested in this workflow
sed -i -e "s|head \(.*\), branch: .*|head \1, revision: \"$RELEVANT_SHA\"|g" mommy.rb
sed -i -e "s|head \(.*\), branch: .*|head \"https://github.com/$RELEVANT_URL.git\", revision: \"$RELEVANT_SHA\"|g" mommy.rb
git -c user.name="ignore" -c user.email="ignore" commit -am "ignore"
- name: Test Homebrew package
run: |
Expand Down

0 comments on commit 73545df

Please sign in to comment.