From a4655c448bb838e8d73b81e97fd0831bb4cbda1e Mon Sep 17 00:00:00 2001 From: Pascal Date: Fri, 19 Nov 2021 16:34:42 +0100 Subject: [PATCH] Update README.md --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 644f0fb..24e7826 100644 --- a/README.md +++ b/README.md @@ -27,9 +27,9 @@ Export both `GITHUB_TOKEN` and `REPO` (e.g. `my-username/my-repository`) and run ```bash for size in XL XXL XS S M L; do - curl -sf -H "Authorization: Bearer $GITHUB_TOKEN" "https://api.github.com/repos/kubernetes/kubernetes/labels/size/$size" | - jq '. | { "name": .name, "color": .color, "description": .description }' | - curl -sfXPOST -d @- -H "Authorization: Bearer $GITHUB_TOKEN" https://api.github.com/repos/$REPO/labels + curl -sf -H "Authorization: Bearer $GITHUB_TOKEN" "https://api.github.com/repos/kubernetes/kubernetes/labels/size/$size" | + jq '. | { "name": .name, "color": .color, "description": .description }' | + curl -sfXPOST -d @- -H "Authorization: Bearer $GITHUB_TOKEN" https://api.github.com/repos/$REPO/labels done ```