Skip to content

Commit ec7d8af

Browse files
committed
Get the base ref also for the merge_group
1 parent 18c9ae6 commit ec7d8af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/checks.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131

3232
- uses: actions/checkout@v3
3333
with:
34-
ref: ${{ github.event.pull_request.base.ref }}
34+
ref: ${{ github.event.pull_request.base.ref || github.event.merge_group.base_ref }}
3535
path: 'main'
3636

3737
- run: CI=1 ./this-pr/scripts/ci/check-changelogs.sh main this-pr

0 commit comments

Comments
 (0)