Skip to content

Commit 089c5ae

Browse files
committed
Use the HEAD ref if we are triggered by a merge group
1 parent 67c55bb commit 089c5ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/code-scanning-pack-gen.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ jobs:
6868
- name: Determine ref for external help files
6969
id: determine-ref
7070
run: |
71-
if [[ $GITHUB_EVENT_NAME == "pull_request" ]]; then
71+
if [[ $GITHUB_EVENT_NAME == "pull_request" || $GITHUB_EVENT_NAME == "merge_group" ]]; then
7272
echo "EXTERNAL_HELP_REF=$GITHUB_HEAD_REF" >> "$GITHUB_ENV"
7373
else
7474
echo "EXTERNAL_HELP_REF=$GITHUB_REF" >> "$GITHUB_ENV"

0 commit comments

Comments
 (0)