Skip to content

Commit 8c4b5d6

Browse files
committed
wrong if check on merge group
1 parent 7a4b6fb commit 8c4b5d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/preview-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ jobs:
9393
echo "base_ref=${BASE_BRANCH}" >> $GITHUB_OUTPUT
9494
- name: Match for merge-group events
9595
id: merge-group-check
96-
if: contains(fromJSON('["pull_request", "pull_request_target"]'), github.event_name)
96+
if: contains(fromJSON('["merge_group"]'), github.event_name)
9797
uses: elastic/docs-builder/actions/assembler-match@main
9898
with:
9999
ref_name: ${{ steps.merge-group-base-branch.outputs.base_ref }}

0 commit comments

Comments
 (0)