Skip to content

Commit 8711c15

Browse files
authored
Update auto_cherrypick.yml (#16217)
1 parent f3dd823 commit 8711c15

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/auto_cherrypick.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,10 @@ jobs:
5959
else
6060
BRANCH_NAME="RC${MILESTONE}_master"
6161
fi
62-
echo "Branch name: $BRANCH_NAME"
62+
echo "Branch Name: $BRANCH_NAME"
6363
echo "BRANCH_NAME=$BRANCH_NAME" >> "$GITHUB_OUTPUT"
64-
BRANCH_URL="https://api.github.com/repos/${{ github.repository }}/branches/RC${{ steps.check_constants.outputs.milestone }}.0_master"
64+
BRANCH_URL="https://api.github.com/repos/${{ github.repository }}/branches/$BRANCH_NAME"
65+
echo "Branch URL: $BRANCH_URL"
6566
branch_response=$(curl -s -o /dev/null -w "%{http_code}" -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" $BRANCH_URL)
6667
echo $branch_response
6768
if [ $branch_response -eq 200 ]; then

0 commit comments

Comments
 (0)