Skip to content

Commit c965188

Browse files
committed
WIP
1 parent f1b9767 commit c965188

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/deploy-to-control-plane-review.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,14 @@ jobs:
2828
- name: Check out the repo
2929
uses: actions/checkout@v2
3030

31-
3231
- name: Get PR number
3332
run: |
34-
echo "GITHUB_REPOSITORY: '$GITHUB_REPOSITORY'"
35-
API_RESPONSE=$(curl --location --request GET 'https://api.github.com/repos/$GITHUB_REPOSITORY/pulls?state=open' \
33+
echo "GITHUB_REPOSITORY: \"$GITHUB_REPOSITORY\""
34+
API_RESPONSE=$(curl --location --request GET "https://api.github.com/repos/$GITHUB_REPOSITORY/pulls?state=open" \
3635
--header 'Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}')
3736
echo "API_RESPONSE: $API_RESPONSE"
3837
PR_NUMBER=$(echo $API_RESPONSE | jq '.[] | select(.head.ref=="'${{ github.ref }}'") | .number')
38+
echo "PR_NUMBER: $PR_NUMBER"
3939
if [ -z "$PR_NUMBER" ]; then
4040
echo "PR_NUMBER is not set. Aborting."
4141
exit 1

0 commit comments

Comments
 (0)