We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f3dd823 commit 8711c15Copy full SHA for 8711c15
.github/workflows/auto_cherrypick.yml
@@ -59,9 +59,10 @@ jobs:
59
else
60
BRANCH_NAME="RC${MILESTONE}_master"
61
fi
62
- echo "Branch name: $BRANCH_NAME"
+ echo "Branch Name: $BRANCH_NAME"
63
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"
+ BRANCH_URL="https://api.github.com/repos/${{ github.repository }}/branches/$BRANCH_NAME"
65
+ echo "Branch URL: $BRANCH_URL"
66
branch_response=$(curl -s -o /dev/null -w "%{http_code}" -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" $BRANCH_URL)
67
echo $branch_response
68
if [ $branch_response -eq 200 ]; then
0 commit comments