Skip to content

Commit ffa7b69

Browse files
committed
1 parent 730f3fd commit ffa7b69

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ runs:
104104
# Set repo and ref from which to run Docker container action
105105
# to handle cases in which `github.action_` context is not set
106106
# https://github.com/actions/runner/issues/2473
107-
REF=${{ env.ACTION_REF || github.ref_name }}
107+
REF=${{ env.ACTION_REF || github.head_ref || github.ref_name }}
108108
REPO=${{ env.ACTION_REPO || github.repository }}
109109
echo "ref=$REF" >>"$GITHUB_OUTPUT"
110110
echo "repo=$REPO" >>"$GITHUB_OUTPUT"

0 commit comments

Comments
 (0)