Skip to content

Commit

Permalink
Improve branch filter on get_related_branch_from_repo (#144)
Browse files Browse the repository at this point in the history
Signed-off-by: Miguel Company <[email protected]>
  • Loading branch information
MiguelCompany authored Feb 25, 2025
1 parent baaa1f6 commit a530ae8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ubuntu/get_related_branch_from_repo/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ runs:
{
ret="false";
if [[ $(git ls-remote ${1} ${2} | wc -l) != 0 ]]
if [[ $(git ls-remote ${1} refs/heads/${2} | wc -l) != 0 ]]
then
ret="true"
fi
Expand Down

0 comments on commit a530ae8

Please sign in to comment.