Skip to content

Commit 06bf550

Browse files
Update breaking change check to checkout the SHA instead of the ref (#4598)
1 parent 7025b33 commit 06bf550

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/breaking-change-check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ jobs:
6969
# Checkout the branch to be merged into in PR
7070
- name: Checkout base branch
7171
if: ${{ github.event_name == 'pull_request' && !contains(github.event.pull_request.labels.*.name, 'breaking-change') }}
72-
run: git checkout ${{ github.event.pull_request.base.ref }}
72+
run: git checkout ${{ github.event.pull_request.base.sha }}
7373
# Install dependencies for the base branch
7474
- name: Install beta dependencies
7575
if: ${{ matrix.flavor == 'beta' && github.event_name == 'pull_request' && !contains(github.event.pull_request.labels.*.name, 'breaking-change') }}

0 commit comments

Comments
 (0)