Skip to content

Commit

Permalink
ci: fetch necessary refs
Browse files Browse the repository at this point in the history
Follow-up to #4785. Whilst comparing against the actual PR base is correct, we need to fetch the ref first before `git` can resolve it.

Pull-Request: #4786.
  • Loading branch information
thomaseizinger authored Nov 2, 2023
1 parent e067460 commit be2023a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ jobs:
!contains(github.event.pull_request.labels.*.name, 'internal-change')
run: |
git fetch origin master:master
git fetch origin ${{ github.event.pull_request.base.ref }}:${{ github.event.pull_request.base.ref }}
./scripts/ensure-version-bump-and-changelog.sh
env:
HEAD_SHA: ${{ github.event.pull_request.head.sha }}
Expand Down

0 comments on commit be2023a

Please sign in to comment.