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.
1 parent dfa972a commit 4338643Copy full SHA for 4338643
action.yml
@@ -28,7 +28,7 @@ runs:
28
# Fallback on 0 if the PR number is not found.
29
number=${{ github.event.number || github.event.issue.number || 0 }}
30
fi
31
- branch=${{ github.head_ref || env.GITHUB_REF_NAME || '' }}
+ branch=${{ env.GITHUB_REF_NAME || github.head_ref || '' }}
32
echo "branch=$branch" >> "$GITHUB_OUTPUT"
33
echo "number=$number" >> "$GITHUB_OUTPUT"
34
0 commit comments