Skip to content

Commit

Permalink
GitHub Actions: Try to fix testing from merge commit (Homebrew/action…
Browse files Browse the repository at this point in the history
…s/setup-homebrew just checks out merge target branch HEAD)
  • Loading branch information
trinitronx committed Feb 1, 2025
1 parent 4943d48 commit a51e6a8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ jobs:
echo HOMEBREW_TAP_REPOSITORY=${{ steps.set-up-homebrew.outputs.repository-path }}
ls -l ${{ steps.set-up-homebrew.outputs.repository-path }}
cd ${{ steps.set-up-homebrew.outputs.repository-path }} && git status && git log --graph --decorate --oneline --all --abbrev-commit
echo "github.ref = ${{ github.ref }}"
git fetch origin ${{ github.ref }}
git checkout -qf FETCH_HEAD
if: ${{ env.debug_ci == 'true' || runner.debug == '1' }}

- name: Cache Homebrew Bundler RubyGems
Expand Down

0 comments on commit a51e6a8

Please sign in to comment.