We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 50a1410 commit f4fa317Copy full SHA for f4fa317
1 file changed
.github/workflows/validate.yaml
@@ -39,6 +39,10 @@ jobs:
39
REPO=${{ github.repository }}
40
LABEL="full validation"
41
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')
42
+
43
+ echo $ENCODED_LABEL
44
+ echo "https://api.github.com/repos/$REPO/issues/$PR_NUMBER/labels/$ENCODED_LABEL"
45
+ echo ${{ secrets.GITHUB_TOKEN }}
46
curl -X DELETE -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \
47
-H "Accept: application/vnd.github.v3+json" \
- "https://api.github.com/repos/$REPO/issues/$PR_NUMBER/labels/$ENCODED_LABEL"
48
+ "https://api.github.com/repos/$REPO/issues/$PR_NUMBER/labels/$ENCODED_LABEL"
0 commit comments