Skip to content

Commit d81e613

Browse files
authored
Update that should hopefully fix merge groups (#945)
1 parent 1873663 commit d81e613

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/check_diff.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151
if: github.event_name == 'merge_group'
5252
id: check-merge-group
5353
run: |
54-
FILES_CHANGED=$(git diff --name-only ${{ github.event.merge_group.base_ref }} HEAD)
54+
FILES_CHANGED=$(git diff --name-only ${{ github.event.merge_group.head_ref }} HEAD)
5555
if echo "$FILES_CHANGED" | grep -m 1 "${{ inputs.pattern }}"; then
5656
echo "changed=true" >> $GITHUB_OUTPUT
5757
else

0 commit comments

Comments
 (0)