Skip to content

Commit 4338643

Browse files
committed
reorder branch outputs
Signed-off-by: Rishav Dhar <19497993+rdhar@users.noreply.github.com>
1 parent dfa972a commit 4338643

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
@@ -28,7 +28,7 @@ runs:
2828
# Fallback on 0 if the PR number is not found.
2929
number=${{ github.event.number || github.event.issue.number || 0 }}
3030
fi
31-
branch=${{ github.head_ref || env.GITHUB_REF_NAME || '' }}
31+
branch=${{ env.GITHUB_REF_NAME || github.head_ref || '' }}
3232
echo "branch=$branch" >> "$GITHUB_OUTPUT"
3333
echo "number=$number" >> "$GITHUB_OUTPUT"
3434

0 commit comments

Comments
 (0)