We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
github.head_ref
1 parent 730f3fd commit ffa7b69Copy full SHA for ffa7b69
action.yml
@@ -104,7 +104,7 @@ runs:
104
# Set repo and ref from which to run Docker container action
105
# to handle cases in which `github.action_` context is not set
106
# https://github.com/actions/runner/issues/2473
107
- REF=${{ env.ACTION_REF || github.ref_name }}
+ REF=${{ env.ACTION_REF || github.head_ref || github.ref_name }}
108
REPO=${{ env.ACTION_REPO || github.repository }}
109
echo "ref=$REF" >>"$GITHUB_OUTPUT"
110
echo "repo=$REPO" >>"$GITHUB_OUTPUT"
0 commit comments