CI: don't encode label name in URL beforehand; let curl do it

This commit is contained in:
Adriaan de Groot 2021-06-08 16:20:03 +02:00
parent d75439e711
commit 242572f57d

View File

@ -28,5 +28,5 @@ jobs:
curl -X DELETE \
-H 'Accept: application/vnd.github.v3+json' \
-H 'Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}' \
https://api.github.com/repos/${{ github.repository }}/issues/${{ github.event.issue.number }}/labels/hacking%3A+in-progress
"https://api.github.com/repos/${{ github.repository }}/issues/${{ github.event.issue.number }}/labels/hacking: in-progress"